mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 14:39:51 -08:00
Removes unecessary ternary operator
This commit is contained in:
parent
727acb32bf
commit
d45aee450d
|
@ -42,7 +42,7 @@ class Slack extends NotificationProvider {
|
|||
const time = heartbeatJSON["time"];
|
||||
const textMsg = "Uptime Kuma Alert";
|
||||
let data = {
|
||||
"text": monitorJSON ? `${textMsg}\n${msg}` : textMsg,
|
||||
"text": `${textMsg}\n${msg}`,
|
||||
"channel": notification.slackchannel,
|
||||
"username": notification.slackusername,
|
||||
"icon_emoji": notification.slackiconemo,
|
||||
|
|
Loading…
Reference in a new issue