From 0c35ce1ae950bdbc72f0ec4c5b120c3296601d6d Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Thu, 8 Jan 2026 20:15:02 +0100 Subject: [PATCH] fix: webhook method is undefined on older notification providers (#6650) --- server/notification-providers/webhook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/webhook.js b/server/notification-providers/webhook.js index c547ef4a6..88c532b04 100644 --- a/server/notification-providers/webhook.js +++ b/server/notification-providers/webhook.js @@ -12,7 +12,7 @@ class Webhook extends NotificationProvider { const okMsg = "Sent Successfully."; try { - const httpMethod = notification.httpMethod.toLowerCase() || "post"; + const httpMethod = notification.httpMethod?.toLowerCase() || "post"; let data = { heartbeat: heartbeatJSON,