diff --git a/src/util.js b/src/util.js index 9a0bb83..ba530cf 100644 --- a/src/util.js +++ b/src/util.js @@ -2,9 +2,9 @@ const { IncomingWebhook } = require('@slack/client') const url = process.env.SLACK_WEBHOOK_URL || null var webhook if (process.env.ENVIRONMENT_TYPE === 'DEV') { - webhook = url !== null ? new IncomingWebhook(url, { username: 'Configuration checker', channel: 'dev-monitoring' }) : null + webhook = url !== null ? new IncomingWebhook(url, { username: 'Configuration checker', channel: 'topic-dev-monitoring' }) : null } else { - webhook = url !== null ? new IncomingWebhook(url, { username: 'Configuration checker', channel: 'monitoring' }) : null + webhook = url !== null ? new IncomingWebhook(url, { username: 'Configuration checker', channel: 'topic-monitoring' }) : null } const postSlackMessage = (message) => {