This commit is contained in:
Bobby Ore 2023-02-08 14:16:02 -06:00
parent 53d9e98e47
commit 3a361d2621

View file

@ -9,7 +9,7 @@ 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;