Skip to content
Snippets Groups Projects
Commit 643da34c authored by Aya Morisawa's avatar Aya Morisawa
Browse files

parent e52885bf
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@ async function init(): Promise<InitResult> {
// 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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment