Fix typo in the db config

This commit is contained in:
Wu Cheng-Han 2017-06-05 03:52:25 +08:00
parent 48f8378335
commit 20c5c78c29

View file

@ -10,7 +10,7 @@ var config = require('../config')
var logger = require('../logger') var logger = require('../logger')
var dbconfig = cloneDeep(config.db) var dbconfig = cloneDeep(config.db)
dbconfig.logger = config.debug ? logger.info : false dbconfig.logging = config.debug ? logger.info : false
var sequelize = null var sequelize = null