mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-18 03:22:21 +02:00
Update server/notification-providers/pushover.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
ddb98ac1d4
commit
8c3589d40c
@ -46,7 +46,7 @@ class Pushover extends NotificationProvider {
|
|||||||
return okMsg;
|
return okMsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (heartbeatJSON.status === UP) {
|
if (heartbeatJSON.status === UP && notification.pushoversounds_up) {
|
||||||
data.sound = notification.pushoversounds_up;
|
data.sound = notification.pushoversounds_up;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user