diff --git a/server/notification-providers/webhook.js b/server/notification-providers/webhook.js index e5a47fbce..9f5643b4e 100644 --- a/server/notification-providers/webhook.js +++ b/server/notification-providers/webhook.js @@ -31,13 +31,12 @@ class Webhook extends NotificationProvider { const tpl = engine.parse(notification.webhookCustomBody); // Insert templated values into Body - const parsedBody = await engine.render(tpl, + data = await engine.render(tpl, { msg, heartbeatJSON, monitorJSON }); - data = parsedBody; } if (notification.webhookAdditionalHeaders) {