This commit is contained in:
Alex Holliday committed 2026-01-19 19:58:15 +00:00
1 parent fd33b903ed
commit be82a7ee2d
3 files changed
+76 -16

No files matched your search

@@ -15,7 +15,8 @@ export class WebhookProvider implements INotificationProvider {
return body;
};
sendAlert = async (notification: Notification, monitor: Monitor, monitorStatusResponse: MonitorStatusResponse) => {
sendAlert = async (notification: Notification, monitor: Monitor, monitorStatusResponse: MonitorStatusResponse) => {
console.log("WebhookProvider.sendAlert called");
let body;
if (monitor.type === "hardware") {
body = this.getHardwareContent(monitor, monitorStatusResponse);