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:
parent
8c3589d40c
commit
7a8ab0271e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user