Update server/notification.js

pull/74/head
Adam Stachowicz 3 years ago committed by GitHub
parent 268c8e50f5
commit 7c94c3b502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -131,7 +131,6 @@ class Notification {
if (heartbeatJSON == null) { if (heartbeatJSON == null) {
let data = {'text': "Uptime Kuma Slack testing successful.", 'channel': notification.slackchannel, 'username': notification.slackusername, 'icon_emoji': notification.slackiconemo} let data = {'text': "Uptime Kuma Slack testing successful.", 'channel': notification.slackchannel, 'username': notification.slackusername, 'icon_emoji': notification.slackiconemo}
await axios.post(notification.slackwebhookURL, data) await axios.post(notification.slackwebhookURL, data)
return true; return true;
} }

Loading…
Cancel
Save