core: fix graphql

This commit is contained in:
undefined committed 2024-05-11 00:58:29 +08:00
1 parent 4c77c82651
commit 214979b0ea
1 file changed
-2
-2
View File
@@ -75,8 +75,6 @@ registerResolver('Query', 'users(ids: [Int], search: String, limit: Int, exact:
return udocs;
}, 'Get a list of user by ids, or search users with the prefix.');
registerResolver('User', 'avatarUrl(size: Int)', 'String', (arg, ctx) => avatar(ctx.user.avatar, arg.size || 128));
class UserLoginHandler extends Handler {
noCheckPermView = true;