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,