removed arguments from config.update assignments

This commit is contained in:
bill bittner 2018-04-18 10:56:51 -07:00
parent 25acd0aed3
commit fb48f8b1fe

View file

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