feat: create RequestPasswordReset

This commit is contained in:
Quangnhankie
2021-10-01 18:28:17 +07:00
parent 6238026b14
commit 19c8267220
3 changed files with 66 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
export const resetPasswordMutation = /* GraphQL */ `
mutation resetPassword($token: String!,$password: String!){
resetPassword(token: $token,password: $password){
__typename
...on CurrentUser{
id
identifier
}
...on ErrorResult{
errorCode
message
}
}
}
`