Merge branch 'auth' into testing
This commit is contained in:
commit
5fc3596a65
|
@ -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