Removes unecessary ternary operator

This commit is contained in:
Brayan Lozano 2023-02-07 22:34:10 -05:00
parent 727acb32bf
commit d45aee450d
No known key found for this signature in database
GPG Key ID: 7A67A99A45A66D84
1 changed files with 1 additions and 1 deletions

View File

@ -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,