1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-01-02 00:10:42 +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:42 -05:00 committed by GitHub
parent ddb98ac1d4
commit 8c3589d40c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ class Pushover extends NotificationProvider {
return okMsg;
}
if (heartbeatJSON.status === UP) {
if (heartbeatJSON.status === UP && notification.pushoversounds_up) {
data.sound = notification.pushoversounds_up;
}