Merge branch 'auth' into testing

This commit is contained in:
tonyrewin 2022-11-02 09:56:45 +03:00
commit 5fc3596a65

View File

@ -98,7 +98,7 @@ export const apiClient = {
authSendLink: async ({ email, lang }) => {
// send link with code on email
const response = await publicGraphQLClient.mutation(authSendLinkMutation, { email, lang }).toPromise()
return response.data.reset
return response.data.sendLink
},
confirmEmail: async ({ token }: { token: string }) => {
// confirm email with code from link