From 4b9bee2992589da2e577485eafbcb882e8236efb Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 10 Nov 2022 00:08:36 +0200 Subject: [PATCH] fix bad reference --- src/server/Server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/Server.js b/src/server/Server.js index 3149e1f..1a940a6 100644 --- a/src/server/Server.js +++ b/src/server/Server.js @@ -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); }));