Skip to content

Commit

Permalink
Merge pull request #2736 from blozano824/add-status-to-slack-notifica…
Browse files Browse the repository at this point in the history
…tion

Adds name + status + message to Slack notification
  • Loading branch information
louislam authored Feb 24, 2023
2 parents c4a9374 + d45aee4 commit e873fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/notification-providers/slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Slack extends NotificationProvider {
const time = heartbeatJSON["time"];
const textMsg = "Uptime Kuma Alert";
let data = {
"text": monitorJSON ? textMsg + `: ${monitorJSON.name}` : textMsg,
"text": `${textMsg}\n${msg}`,
"channel": notification.slackchannel,
"username": notification.slackusername,
"icon_emoji": notification.slackiconemo,
Expand Down

0 comments on commit e873fea

Please sign in to comment.