Skip to content

Commit

Permalink
fixed linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanMeijer committed Oct 8, 2024
1 parent bb43e6c commit c086ac6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/notification-providers/slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] || [];
Expand All @@ -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] = [];
Expand Down

0 comments on commit c086ac6

Please sign in to comment.