remove redundant method

This commit is contained in:
Alex Holliday committed 2026-02-16 00:17:51 +00:00
1 parent be8580ee99
commit 412a3b7cc9
5 files changed
+10 -15

No files matched your search

@@ -4,7 +4,7 @@ import { INotificationProvider } from "@/service/index.js";
import type { MonitorActionDecision } from "@/service/infrastructure/SuperSimpleQueue/SuperSimpleQueueHelper.js";
import {
buildHardwareAlerts,
buildHardwareWebhookBody,
buildHardwareNotificationMessage,
buildWebhookBody,
getTestMessage,
} from "@/service/infrastructure/notificationProviders/utils.js";
@@ -28,7 +28,7 @@ export class WebhookProvider implements INotificationProvider {
}
// For threshold breaches, use hardware alert format
const { alertsToSend } = buildHardwareAlerts("HOST_PLACEHOLDER", monitor, monitorStatusResponse);
const body = buildHardwareWebhookBody(clientHost, alertsToSend, monitor);
const body = buildHardwareNotificationMessage(clientHost, alertsToSend, monitor);
return body;
};