removed extra curly brace

Co-authored-by: Tymoteusz Boba <Tymoteusz.Boba@gmail.com>
pull/6323/head
TomDakan 2 years ago committed by GitHub
parent f183995325
commit a49898a5c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,6 @@ module.exports = {
const { roles } = await discord.getGuildMember(accessToken, conf.guildId); const { roles } = await discord.getGuildMember(accessToken, conf.guildId);
if (authRoles.every(role => roles.includes(role)) if (authRoles.every(role => roles.includes(role))
throw new WIKI.Error.AuthLoginFailed() throw new WIKI.Error.AuthLoginFailed()
}
} else if (conf.guildId && !_.some(profile.guilds, { id: conf.guildId })) { } else if (conf.guildId && !_.some(profile.guilds, { id: conf.guildId })) {
throw new WIKI.Error.AuthLoginFailed() throw new WIKI.Error.AuthLoginFailed()
} }

Loading…
Cancel
Save