From 3a361d26210b6db8dc27d0e67956bbfa58bd87c5 Mon Sep 17 00:00:00 2001 From: Bobby Ore Date: Wed, 8 Feb 2023 14:16:02 -0600 Subject: [PATCH] lint fix --- server/notification-providers/lunasea.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/notification-providers/lunasea.js b/server/notification-providers/lunasea.js index 48f7b4f2..0d9bb26a 100644 --- a/server/notification-providers/lunasea.js +++ b/server/notification-providers/lunasea.js @@ -9,12 +9,12 @@ class LunaSea extends NotificationProvider { async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { let okMsg = "Sent Successfully."; let lunaseaurl = ""; - if(notification.lunaseaNotificationType === "device") { + if (notification.lunaseaNotificationType === "device") { lunaseaurl = "https://notify.lunasea.app/v1/custom/device/" + notification.lunaseaId; } else { lunaseaurl = "https://notify.lunasea.app/v1/custom/user/" + notification.lunaseaId; } - + try { if (heartbeatJSON == null) { let testdata = {