Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Notification Provider SIGNL4 #5058

Merged
merged 10 commits into from
Aug 28, 2024
Prev Previous commit
Next Next commit
Update server/notification-providers/signl4.js
  • Loading branch information
CommanderStorm authored Aug 28, 2024
commit 977adb14350830b7db71296c27c878f303f2fed1
2 changes: 1 addition & 1 deletion server/notification-providers/signl4.js
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
msg,
// Source system
"X-S4-SourceSystem": "UptimeKuma",
monitorUrl = this.extractAdress(monitorJSON),
monitorUrl: this.extractAdress(monitorJSON),
};

const config = {
@@ -34,7 +34,7 @@
} else if (heartbeatJSON.status === UP) {
data.title = "Uptime Kuma Monitor ✅ Up";
data["X-S4-ExternalID"] = "UptimeKuma-" + monitorJSON.monitorID;
data["X-S4-Status"] = "resolved";

Check failure on line 37 in server/notification-providers/signl4.js

GitHub Actions / check-linters

Expected indentation of 16 spaces but found 20
CommanderStorm marked this conversation as resolved.
Show resolved Hide resolved
} else if (heartbeatJSON.status === DOWN) {
data.title = "Uptime Kuma Monitor 🔴 Down";
data["X-S4-ExternalID"] = "UptimeKuma-" + monitorJSON.monitorID;
Loading