diff --git a/index.js b/index.js index 52d75bd3..4cb5f2bd 100644 --- a/index.js +++ b/index.js @@ -15,10 +15,10 @@ const siteConfig = require('./config/siteConfig.js'); const slackConfig = require('./config/slackConfig.js'); function Server () { - this.configureLogger = loggerConfig.update(userConfig); - this.configureMysql = mysqlConfig.update(userConfig); - this.configureSite = siteConfig.update(userConfig); - this.configureSlack = slackConfig.update(userConfig); + this.configureLogger = loggerConfig.update; + this.configureMysql = mysqlConfig.update; + this.configureSite = siteConfig.update; + this.configureSlack = slackConfig.update; this.configureModels = () => { logger.debug('here is where you could add/overwrite the default models') };