goalert provider missing semicolon fix for linter

This commit is contained in:
Muhammed Hussein Karimi 2022-08-23 22:26:20 +04:30
parent 65e6921a41
commit 40b9d9ed17
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ class GoAlert extends NotificationProvider {
let parameters = { let parameters = {
token: notification.goAlertToken, token: notification.goAlertToken,
summary: msg, summary: msg,
} };
if (heartbeatJSON["status"] === UP) { if (heartbeatJSON["status"] === UP) {
parameters["action"] = closeAction; parameters["action"] = closeAction;
} }

View file

@ -38,7 +38,7 @@ const TechulusPush = require("./notification-providers/techulus-push");
const Telegram = require("./notification-providers/telegram"); const Telegram = require("./notification-providers/telegram");
const Webhook = require("./notification-providers/webhook"); const Webhook = require("./notification-providers/webhook");
const WeCom = require("./notification-providers/wecom"); const WeCom = require("./notification-providers/wecom");
const GoAlert = require("./notification-providers/goalert") const GoAlert = require("./notification-providers/goalert");
class Notification { class Notification {