Chore: Remove redundant assign

Co-authored-by: Frank Elsinga <frank@elsinga.de>
pull/3088/head
Nelson Chan 12 months ago committed by Nelson Chan
parent 97d38ee1a8
commit c9d6e576ab

@ -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) {

Loading…
Cancel
Save