Merge branch 'master' into feature/add-channel-notification-for-slack

This commit is contained in:
duane
2023-05-31 10:31:33 -05:00
committed by GitHub
29 changed files with 1174 additions and 550 deletions

View File

@@ -44,7 +44,6 @@ class Slack extends NotificationProvider {
return okMsg;
}
const time = heartbeatJSON["time"];
const textMsg = "Uptime Kuma Alert";
let data = {
"text": `${textMsg}\n${msg}`,
@@ -70,7 +69,7 @@ class Slack extends NotificationProvider {
},
{
"type": "mrkdwn",
"text": "*Time (UTC)*\n" + time,
"text": `*Time (${heartbeatJSON["timezone"]})*\n${heartbeatJSON["localDateTime"]}`,
}],
}
],