mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Codestyle: Add trailing comma
This commit is contained in:
parent
7b4f90ce92
commit
cbbd3e20ad
1 changed files with 2 additions and 2 deletions
|
@ -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