Adam Stachowicz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
server/notification.js
|
@ -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; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|