Fix reset password component
This commit is contained in:
@@ -10,3 +10,20 @@ mutation Login($email: String!, $password: String!) {
|
||||
},
|
||||
}
|
||||
`;
|
||||
|
||||
export const SEND_RESET_PASSWORD = gql`
|
||||
mutation SendResetPassword($email: String!) {
|
||||
sendResetPassword(email: $email)
|
||||
}
|
||||
`;
|
||||
|
||||
export const RESET_PASSWORD = gql`
|
||||
mutation ResetPassword($token: String!, $password: String!) {
|
||||
resetPassword(token: $token, password: $password) {
|
||||
token,
|
||||
user {
|
||||
id,
|
||||
}
|
||||
},
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user