mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-18 23:34:04 +02:00
Fix checks
This commit is contained in:
parent
a8549d55de
commit
8cae54c559
2 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ class Ntfy extends NotificationProvider {
|
||||||
if (heartbeatJSON.status === DOWN) {
|
if (heartbeatJSON.status === DOWN) {
|
||||||
tags = [ "red_circle" ];
|
tags = [ "red_circle" ];
|
||||||
status = "Down";
|
status = "Down";
|
||||||
priority = downPriority
|
priority = downPriority;
|
||||||
} else if (heartbeatJSON["status"] === UP) {
|
} else if (heartbeatJSON["status"] === UP) {
|
||||||
tags = [ "green_circle" ];
|
tags = [ "green_circle" ];
|
||||||
status = "Up";
|
status = "Up";
|
||||||
|
|
|
@ -841,8 +841,8 @@
|
||||||
"ntfyAuthenticationMethod": "Authentication Method",
|
"ntfyAuthenticationMethod": "Authentication Method",
|
||||||
"ntfyPriorityHelptextAllEvents": "All events are sent with the maximum priority",
|
"ntfyPriorityHelptextAllEvents": "All events are sent with the maximum priority",
|
||||||
"ntfyPriorityHelptextAllExceptDown": "All events are sent with this priority, except {0}-events, which have a priority of {1}",
|
"ntfyPriorityHelptextAllExceptDown": "All events are sent with this priority, except {0}-events, which have a priority of {1}",
|
||||||
"ntfyPriorityHelptextPriorityHigherThanDown":"Regular priority should be higher than {0} priority. Priority {1} is higher than {0} priority {2}",
|
"ntfyPriorityHelptextPriorityHigherThanDown": "Regular priority should be higher than {0} priority. Priority {1} is higher than {0} priority {2}",
|
||||||
"ntfyPriorityDown":"Priority for DOWN-events",
|
"ntfyPriorityDown": "Priority for DOWN-events",
|
||||||
"ntfyUsernameAndPassword": "Username and Password",
|
"ntfyUsernameAndPassword": "Username and Password",
|
||||||
"twilioAccountSID": "Account SID",
|
"twilioAccountSID": "Account SID",
|
||||||
"twilioApiKey": "Api Key (optional)",
|
"twilioApiKey": "Api Key (optional)",
|
||||||
|
|
Loading…
Add table
Reference in a new issue