This commit is contained in:
Erik 2022-11-27 23:17:04 +02:00
parent f5604e4a46
commit e4ee428a14
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -42,6 +42,7 @@ class MongoDB {
this.logger.status('Initializing database connection.');
await this.client.connect();
this.logger.debug(`Connected, selecting DB`);
this.db = await this.client.db(this.database);
this.logger.status('Database connected.');