mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 14:39:51 -08:00
lint fix
This commit is contained in:
parent
53d9e98e47
commit
3a361d2621
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue