Update server/notification.js

This commit is contained in:
Adam Stachowicz 2021-07-18 09:42:34 +00:00 committed by GitHub
parent 268c8e50f5
commit 7c94c3b502
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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