fix: change discord module ‘discordapp.com’ to ‘discord.com’ (#2117)

This commit is contained in:
Maho Hiyajo 2020-06-27 17:01:00 -04:00 committed by GitHub
parent 284f4aa25b
commit ea3962d143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ module.exports = {
new DiscordStrategy({
clientID: conf.clientId,
clientSecret: conf.clientSecret,
authorizationURL: 'https://discordapp.com/api/oauth2/authorize?prompt=none',
authorizationURL: 'https://discord.com/api/oauth2/authorize?prompt=none',
callbackURL: conf.callbackURL,
scope: 'identify email guilds'
}, async (accessToken, refreshToken, profile, cb) => {