diff --git a/server/notification-providers/ntfy.js b/server/notification-providers/ntfy.js index ac3fd9db1..f4b2d1937 100644 --- a/server/notification-providers/ntfy.js +++ b/server/notification-providers/ntfy.js @@ -42,7 +42,7 @@ class Ntfy extends NotificationProvider { if (heartbeatJSON.status === DOWN) { tags = [ "red_circle" ]; status = "Down"; - priority = downPriority + priority = downPriority; } else if (heartbeatJSON["status"] === UP) { tags = [ "green_circle" ]; status = "Up"; diff --git a/src/lang/en.json b/src/lang/en.json index b46aee2b3..1ca6ef105 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -841,8 +841,8 @@ "ntfyAuthenticationMethod": "Authentication Method", "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}", - "ntfyPriorityHelptextPriorityHigherThanDown":"Regular priority should be higher than {0} priority. Priority {1} is higher than {0} priority {2}", - "ntfyPriorityDown":"Priority for DOWN-events", + "ntfyPriorityHelptextPriorityHigherThanDown": "Regular priority should be higher than {0} priority. Priority {1} is higher than {0} priority {2}", + "ntfyPriorityDown": "Priority for DOWN-events", "ntfyUsernameAndPassword": "Username and Password", "twilioAccountSID": "Account SID", "twilioApiKey": "Api Key (optional)",