mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: fix graphql
This commit is contained in:
1 file changed
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user