mirror of
https://github.com/wassname/talk.git
synced 2026-08-01 13:00:55 +08:00
fix: allowed banned/suspended users to view their ignored users (#2387)
This commit is contained in:
@@ -1538,7 +1538,12 @@ type User {
|
||||
"""
|
||||
ignoredUsers will return the list of ignored users.
|
||||
"""
|
||||
ignoredUsers: [User!]! @auth(roles: [ADMIN, MODERATOR], userIDField: "id")
|
||||
ignoredUsers: [User!]!
|
||||
@auth(
|
||||
roles: [ADMIN, MODERATOR]
|
||||
userIDField: "id"
|
||||
permit: [SUSPENDED, BANNED]
|
||||
)
|
||||
|
||||
"""
|
||||
createdAt is the time that the User was created at.
|
||||
|
||||
Reference in New Issue
Block a user