Update lunasea body content

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Domenic Horner 2021-09-04 18:24:43 +08:00 committed by GitHub
parent 532ad3044c
commit dca5c59982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -492,7 +492,7 @@ class Notification {
if (heartbeatJSON["status"] == 0) {
let downdata = {
"title": "UptimeKuma Alert: " + monitorJSON["name"],
"body": "[🔴 Down]" + heartbeatJSON["msg"] + "\nTime (UTC):" + heartbeatJSON["time"],
"body": "[🔴 Down] " + heartbeatJSON["msg"] + "\nTime (UTC): " + heartbeatJSON["time"],
}
await axios.post(lunaseadevice, downdata)
return okMsg;