feat: adding validate/prompt endpoint
This commit is contained in:
parent
9d626c7cbc
commit
c41957c67e
6 changed files with 130 additions and 25 deletions
|
|
@ -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})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue