Update pushbullet down body

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Domenic Horner 2021-09-04 18:26:44 +08:00 committed by GitHub
parent d346afd33b
commit 9c32adfb55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -531,7 +531,7 @@ class Notification {
let downdata = {
"type": "note",
"title": "UptimeKuma Alert: " + monitorJSON["name"],
"body": "[🔴 Down]" + heartbeatJSON["msg"] + "\nTime (UTC):" + heartbeatJSON["time"],
"body": "[🔴 Down] " + heartbeatJSON["msg"] + "\nTime (UTC): " + heartbeatJSON["time"],
}
await axios.post(pushbulletUrl, downdata, config)
} else if (heartbeatJSON["status"] == 1) {