mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
banUsers and moderate separate streams, not found assets etc
This commit is contained in:
@@ -8,6 +8,9 @@ const RootMutation = {
|
||||
deleteAction(_, {id}, {mutators: {Action}}) {
|
||||
return Action.delete({id});
|
||||
},
|
||||
setUserStatus(_, {id, status}, {mutators: {User}}) {
|
||||
return User.setUserStatus({id, status});
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = RootMutation;
|
||||
|
||||
Reference in New Issue
Block a user