added # to channels

This commit is contained in:
bill bittner 2017-09-14 13:13:26 -07:00
parent b949c75e9d
commit cfe608c9ce
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@
},
"Logging": {
"LogLevel": "silly",
"SlackErrorChannel": "staging_speech-errors",
"SlackErrorChannel": "#staging_speech-errors",
"SlackInfoChannel": "none"
}
}

View file

@ -10,7 +10,7 @@
},
"Logging": {
"LogLevel": "verbose",
"SlackErrorChannel": "speech-errors",
"SlackInfoChannel": "speech-logs"
"SlackErrorChannel": "#speech-errors",
"SlackInfoChannel": "#speech-logs"
}
}

View file

@ -1,7 +1,7 @@
const config = require('config');
const SLACK_WEB_HOOK = config.get('Logging.SlackWebHook');
const SLACK_ERROR_CHANNEL = config.get('Logging.SlackErrorChannel');
const SLACK_INFO_CHANNEL = config.get('Logging.SlackLogsChannel');
const SLACK_INFO_CHANNEL = config.get('Logging.SlackInfoChannel');
const winstonSlackWebHook = require('winston-slack-webhook').SlackWebHook;
module.exports = (winston) => {