From 643da34c4fa0a83ac95be198440d8b7848727a94 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Tue, 3 Jan 2017 06:06:31 +0900 Subject: [PATCH] :sparkles: --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 84be38b01..9a8223fe0 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) {