From 38af20403cc5897706f5f64b1338134d7a5bd4d4 Mon Sep 17 00:00:00 2001 From: Daan Meijer Date: Tue, 8 Oct 2024 15:05:52 +0200 Subject: [PATCH] fixed linting errors --- server/notification-providers/slack.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/notification-providers/slack.js b/server/notification-providers/slack.js index 1f771cded..ae68f4d4c 100644 --- a/server/notification-providers/slack.js +++ b/server/notification-providers/slack.js @@ -196,6 +196,7 @@ class Slack extends NotificationProvider { * Track an open alert for a specific monitor * @param {string} monitorId The monitor id * @param {object} data The object representing the message + * @returns {void} */ static trackAlert(monitorId, data) { Slack.openAlerts[monitorId] = Slack.openAlerts[monitorId] || []; @@ -209,6 +210,7 @@ class Slack extends NotificationProvider { /** * Clears the open alerts for a specific monitor * @param {string} monitorId The monitor id + * @returns {void} */ static clearAlerts(monitorId) { Slack.openAlerts[monitorId] = [];