1
0
mirror of https://github.com/journey-ad/Moe-Counter.git synced 2024-11-27 17:00:51 +01:00

fix: wrong require path to component

This commit is contained in:
Jad 2020-08-12 10:10:17 +00:00
parent 3bd1ae58e4
commit 1ee8309f15

View File

@ -5,8 +5,8 @@ const config = require('config-yml')
let db
switch(config.db.type){
case 'mongo':
db = require('./mongo')
case 'mongodb':
db = require('./mongodb')
break;
case 'sqlite':
default: