mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-25 13:05:55 +00:00
fixed linting errors
This commit is contained in:
parent
a95da7dc54
commit
38af20403c
1 changed files with 2 additions and 0 deletions
|
@ -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] = [];
|
||||
|
|
Loading…
Add table
Reference in a new issue