mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-19 07:44:02 +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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue