fix bad reference

This commit is contained in:
Erik 2022-11-10 00:08:36 +02:00
parent 170636cd7a
commit 4b9bee2992
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -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);
}));