From c9d6e576ab1b220882484b63d664ff9da5d84ad4 Mon Sep 17 00:00:00 2001 From: Nelson Chan <3271800+chakflying@users.noreply.github.com> Date: Wed, 31 May 2023 09:33:01 +0800 Subject: [PATCH] Chore: Remove redundant assign Co-authored-by: Frank Elsinga --- server/notification-providers/webhook.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {