mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 20:13:08 +02:00
✨
This commit is contained in:
parent
e52885bfe4
commit
643da34c4f
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ async function init(): Promise<InitResult> {
|
||||||
// Try to connect to MongoDB
|
// Try to connect to MongoDB
|
||||||
let mongoDBLogger = new Logger('MongoDB');
|
let mongoDBLogger = new Logger('MongoDB');
|
||||||
try {
|
try {
|
||||||
const db = await initdb(config);
|
const db = await initdb();
|
||||||
mongoDBLogger.info('Successfully connected');
|
mongoDBLogger.info('Successfully connected');
|
||||||
db.close();
|
db.close();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue