1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-22 22:13:20 +02:00

Update server/notification-providers/pushover.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Ruse 2024-12-11 21:11:52 -05:00 committed by GitHub
parent 8c3589d40c
commit 7a8ab0271e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,7 @@ class Pushover extends NotificationProvider {
} }
if (heartbeatJSON.status === UP && notification.pushoversounds_up) { if (heartbeatJSON.status === UP && notification.pushoversounds_up) {
// default = DOWN => DOWN-sound is also played for non-UP/DOWN notiifcations
data.sound = notification.pushoversounds_up; data.sound = notification.pushoversounds_up;
} }