Skip to content

Commit

Permalink
fix: scope missing
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Jul 28, 2022
1 parent 89fd3e7 commit 1c209bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/resolvers/query/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>,
inviteUrl: ((parent, params) =>
`https://discord.com/api/oauth2/authorize?client_id=${
Expand Down

0 comments on commit 1c209bd

Please sign in to comment.