mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-14 17:04:41 +00:00
User cannot change their role
This commit is contained in:
parent
4920a902c4
commit
ce23692922
@ -202,6 +202,7 @@ export default {
|
||||
this.$apollo
|
||||
.mutate({
|
||||
mutation: updateUserRole(newRole, id),
|
||||
variables: { role: newRole, id}
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error.message);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user