1
0
mirror of https://github.com/journey-ad/Moe-Counter.git synced 2024-11-30 18:24:28 +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 let db
switch(config.db.type){ switch(config.db.type){
case 'mongo': case 'mongodb':
db = require('./mongo') db = require('./mongodb')
break; break;
case 'sqlite': case 'sqlite':
default: default: