summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWu Cheng-Han2017-06-05 03:52:25 +0800
committerWu Cheng-Han2017-06-05 03:52:25 +0800
commit20c5c78c29a15d4c5f8b5802db800613c9070574 (patch)
treec9b842128722c41c49c69d693b5064779c9972c5 /lib
parent48f83783350e49cce38e2f9dee2b54f3adda69a8 (diff)
Fix typo in the db config
Diffstat (limited to 'lib')
-rw-r--r--lib/models/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/index.js b/lib/models/index.js
index 0679a7fc..e3aa8bf3 100644
--- a/lib/models/index.js
+++ b/lib/models/index.js
@@ -10,7 +10,7 @@ var config = require('../config')
var logger = require('../logger')
var dbconfig = cloneDeep(config.db)
-dbconfig.logger = config.debug ? logger.info : false
+dbconfig.logging = config.debug ? logger.info : false
var sequelize = null