diff --git a/server/routes/discord.js b/server/routes/discord.js index 1dc03e2fd..32cfc88f9 100644 --- a/server/routes/discord.js +++ b/server/routes/discord.js @@ -33,8 +33,7 @@ class Request { } } -const getOAuthUrl = () => Object.assign( - new URL('/oauth2/authorize', BASE_DISCORD_URI), { +const getOAuthUrl = () => Object.assign(new URL('/oauth2/authorize', BASE_DISCORD_URI), { search: new URLSearchParams({ client_id: configs.get('DiscordClientId'), redirect_uri: configs.get('DiscordRedirectUri'),