mirror of
https://github.com/wassname/talk.git
synced 2026-08-15 12:55:10 +08:00
lint fixes
This commit is contained in:
@@ -50,7 +50,6 @@ const RootQuery = {
|
||||
return Comments.getCountByQuery(query);
|
||||
},
|
||||
|
||||
|
||||
async userCount(_, {query}, {user, loaders: {Users}}) {
|
||||
if (user == null || !user.can(SEARCH_OTHER_USERS)) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user