Add userFlagged subscription

This commit is contained in:
Chi Vinh Le
2018-01-16 11:31:44 +01:00
parent 7885b025ee
commit 6aece16fd0
6 changed files with 35 additions and 4 deletions
+5
View File
@@ -1506,6 +1506,11 @@ type Subscription {
# users with the `ADMIN` or `MODERATOR` role.
userBanned(user_id: ID): User
# Get an update whenever a username was flagged.
# `user_id` must match id of current user except for
# users with the `ADMIN` or `MODERATOR` role.
usernameFlagged(user_id: ID): User
# Get an update whenever a username has been rejected.
# `user_id` must match id of current user except for
# users with the `ADMIN` or `MODERATOR` role.