feat: add change password tab to user profile settings
This commit is contained in:
11
frontend/src/shared/graphql/user/updateUserPassword.ts
Normal file
11
frontend/src/shared/graphql/user/updateUserPassword.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
export const UPDATE_USER_PASSWORD_MUTATION = gql`
|
||||
mutation updateUserPassword($userID: UUID!, $password: String!) {
|
||||
updateUserPassword(input: { userID: $userID, password: $password }) {
|
||||
ok
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default UPDATE_USER_PASSWORD_MUTATION;
|
Reference in New Issue
Block a user