From 1fdb7e48ed7881f2e64d43a964f70ee2795dca06 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 14 Feb 2024 23:45:23 +0100 Subject: [PATCH] Formatting fixes --- server/notification-providers/heii-oncall.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/notification-providers/heii-oncall.js b/server/notification-providers/heii-oncall.js index 87b9e3b3f..20b53e6af 100644 --- a/server/notification-providers/heii-oncall.js +++ b/server/notification-providers/heii-oncall.js @@ -25,9 +25,7 @@ class HeiiOnCall extends NotificationProvider { Authorization: "Bearer " + notification.heiiOnCallApiKey, }, }; - const heiiUrl = `https://heiioncall.com/triggers/${notification.heiiOnCallTriggerId}/`; - // docs https://heiioncall.com/docs#manual-triggers try { if (!heartbeatJSON) { @@ -42,7 +40,7 @@ class HeiiOnCall extends NotificationProvider { return okMsg; } if (heartbeatJSON.status === UP) { - await axios.post(heiiUrl + "resolve",payload, config); + await axios.post(heiiUrl + "resolve", payload, config); return okMsg; } } catch (error) {