From 8cae54c5592ca1059724a0f3c377550bd282e14c Mon Sep 17 00:00:00 2001 From: Andrea Mastellone Date: Sun, 8 Jun 2025 10:06:56 -0400 Subject: [PATCH] Fix checks --- server/notification-providers/ntfy.js | 2 +- src/lang/en.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)",