mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +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