fix: webhook method is undefined on older notification providers (#6650)

This commit is contained in:
Frank Elsinga
2026-01-08 19:15:02 +00:00
committed by GitHub
parent 4310c7f949
commit 0c35ce1ae9
+1 -1
View File
@@ -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,