mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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;
|
return udocs;
|
||||||
}, 'Get a list of user by ids, or search users with the prefix.');
|
}, '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 {
|
class UserLoginHandler extends Handler {
|
||||||
noCheckPermView = true;
|
noCheckPermView = true;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user