From 1c209bd3886e5c3cc744d0f05b4c64b3859c00eb Mon Sep 17 00:00:00 2001 From: pikokr Date: Fri, 29 Jul 2022 00:02:20 +0900 Subject: [PATCH] fix: scope missing --- server/src/resolvers/query/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/resolvers/query/index.ts b/server/src/resolvers/query/index.ts index b558df0f..1ddf367e 100644 --- a/server/src/resolvers/query/index.ts +++ b/server/src/resolvers/query/index.ts @@ -20,7 +20,7 @@ export const queryResolvers = { }&redirect_uri=${encodeURIComponent( process.env.DISCORD_REDIRECT_URI! )}&scope=${encodeURIComponent( - "identify" + "identify guilds" )}&response_type=code`) as Resolver, inviteUrl: ((parent, params) => `https://discord.com/api/oauth2/authorize?client_id=${