User cannot change their role

This commit is contained in:
narendra chandra 2021-02-06 17:34:17 -05:00
parent 4920a902c4
commit ce23692922

View File

@ -202,6 +202,7 @@ export default {
this.$apollo
.mutate({
mutation: updateUserRole(newRole, id),
variables: { role: newRole, id}
})
.catch((error) => {
console.log(error.message);