Update graphql types and mutations

This commit is contained in:
Hazem Krimi
2021-05-01 17:59:17 +01:00
parent 74cb35f044
commit 91ea603e05
2 changed files with 44 additions and 0 deletions
+23
View File
@@ -134,3 +134,26 @@ export const UPDATE_USER_INFO = gql`
}
}
`;
export const UPDATE_USER_PASSWORD = gql`
mutation UpdateUserPassword($id: String!, $password: PasswordInputModel!) {
updateUserPassword(id: $id, password: $password) {
id
email
firstName
lastName
phone {
prefix
number
}
address {
place
city
country
zip
}
active
role
}
}
`;