fixes: formatting and security issues

Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
ngc7331
2022-04-14 14:34:30 +08:00
committed by Louis Lam
co-authored by Matthew Nickson
parent fb059f5e91
commit 93c51504f9
3 changed files with 7 additions and 6 deletions
+3 -3
View File
@@ -14,11 +14,11 @@ class Pushdeer extends NotificationProvider {
let title;
if (valid && heartbeatJSON.status == UP) {
title = "## UptimeKuma: " + monitorJSON.name + " up";
title = "## Uptime Kuma: " + monitorJSON.name + " up";
} else if (valid && heartbeatJSON.status == DOWN) {
title = "## UptimeKuma: " + monitorJSON.name + " down";
title = "## Uptime Kuma: " + monitorJSON.name + " down";
} else {
title = "## UptimeKuma Message";
title = "## Uptime Kuma Message";
}
let data = {