fixed linting errors

This commit is contained in:
Daan Meijer 2024-10-08 15:05:52 +02:00
parent a95da7dc54
commit 38af20403c

View file

@ -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] = [];