fix-sendlink-response

This commit is contained in:
tonyrewin 2022-11-02 09:56:01 +03:00
parent 24e15e5532
commit ef4fc43d72

View File

@ -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