fix bad reference
This commit is contained in:
parent
170636cd7a
commit
4b9bee2992
@ -66,7 +66,7 @@ class Server extends EventEmitter {
|
||||
clientID: DISCORD_ID, clientSecret: DISCORD_SECRET, callbackURL: this.baseURL + callbackURL + '/discord', scope: discord.scope, version: discord.version
|
||||
}, async (accessToken, refreshToken, profile, callback) => {
|
||||
this.logger.info(`${profile.username} (${profile.id}) is logging in.`);
|
||||
const user = await this.userdb.userFromDiscord(profile);
|
||||
const user = await this.userDatabase.userFromDiscord(profile);
|
||||
callback(null, user);
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user