mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-26 22:19:43 -08:00
Codestyle: Add trailing comma
This commit is contained in:
parent
7b4f90ce92
commit
cbbd3e20ad
|
@ -22,7 +22,7 @@ class Ntfy extends NotificationProvider {
|
||||||
"title": (monitorJSON?.name || notification.ntfytopic) + " [Uptime-Kuma]",
|
"title": (monitorJSON?.name || notification.ntfytopic) + " [Uptime-Kuma]",
|
||||||
"message": msg,
|
"message": msg,
|
||||||
"priority": notification.ntfyPriority,
|
"priority": notification.ntfyPriority,
|
||||||
"tags": [ "test_tube" ]
|
"tags": [ "test_tube" ],
|
||||||
};
|
};
|
||||||
await axios.post(`${notification.ntfyserverurl}`, ntfyTestData, { headers: headers });
|
await axios.post(`${notification.ntfyserverurl}`, ntfyTestData, { headers: headers });
|
||||||
return okMsg;
|
return okMsg;
|
||||||
|
@ -51,7 +51,7 @@ class Ntfy extends NotificationProvider {
|
||||||
{
|
{
|
||||||
"action": "view",
|
"action": "view",
|
||||||
"label": "Open " + monitorJSON.name,
|
"label": "Open " + monitorJSON.name,
|
||||||
"url": monitorJSON.url
|
"url": monitorJSON.url,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue