fix-sendlink-response
This commit is contained in:
parent
24e15e5532
commit
ef4fc43d72
|
@ -98,7 +98,7 @@ export const apiClient = {
|
||||||
authSendLink: async ({ email, lang }) => {
|
authSendLink: async ({ email, lang }) => {
|
||||||
// send link with code on email
|
// send link with code on email
|
||||||
const response = await publicGraphQLClient.mutation(authSendLinkMutation, { email, lang }).toPromise()
|
const response = await publicGraphQLClient.mutation(authSendLinkMutation, { email, lang }).toPromise()
|
||||||
return response.data.reset
|
return response.data.sendLink
|
||||||
},
|
},
|
||||||
confirmEmail: async ({ token }: { token: string }) => {
|
confirmEmail: async ({ token }: { token: string }) => {
|
||||||
// confirm email with code from link
|
// confirm email with code from link
|
||||||
|
|
Loading…
Reference in New Issue
Block a user