From 5332b3fc9bd1c5b30da288cb4d49eec617601624 Mon Sep 17 00:00:00 2001 From: Tobias Thiemann Date: Tue, 23 Jul 2024 10:56:55 +0200 Subject: [PATCH] fix lint issues --- server/notification-providers/teams.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/notification-providers/teams.js b/server/notification-providers/teams.js index 4eae4a663..3169b98a6 100644 --- a/server/notification-providers/teams.js +++ b/server/notification-providers/teams.js @@ -179,7 +179,7 @@ class Teams extends NotificationProvider { } return payload; - } + }; /** * Generate payload for notification @@ -295,8 +295,7 @@ class Teams extends NotificationProvider { }); await this._sendNotification(notification.webhookUrl, payload); - } - else { + } else { const payload = this._notificationPayloadFactoryLegacy({ monitorMessage: heartbeatJSON.msg, monitorName: monitorJSON.name,