diff --git a/src/index.ts b/src/index.ts index 84be38b014..9a8223fe0a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -156,7 +156,7 @@ async function init(): Promise { // Try to connect to MongoDB let mongoDBLogger = new Logger('MongoDB'); try { - const db = await initdb(config); + const db = await initdb(); mongoDBLogger.info('Successfully connected'); db.close(); } catch (e) {