Codestyle: Add trailing comma

This commit is contained in:
Michael Telgkamp 2023-03-01 23:05:23 +01:00
parent 7b4f90ce92
commit cbbd3e20ad
No known key found for this signature in database
GPG key ID: D56A6B18219D5263

View file

@ -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,
} }
] ]
}; };