feat: adding validate/prompt endpoint

This commit is contained in:
Gabriel Almeida 2023-04-04 20:43:41 -03:00
commit c41957c67e
6 changed files with 130 additions and 25 deletions

View file

@ -12,5 +12,5 @@ export async function sendAll(data:sendAllProps) {
export async function checkCode(code:string):Promise<AxiosResponse<errorsTypeAPI>>{
return await axios.post('/validate',{code})
return await axios.post('/validate/code',{code})
}