Update pushbullet up body

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

View file

@ -538,7 +538,7 @@ class Notification {
let updata = {
"type": "note",
"title": "UptimeKuma Alert: " + monitorJSON["name"],
"body": "[✅ Up]" + heartbeatJSON["msg"] + "\nTime (UTC):" + heartbeatJSON["time"],
"body": "[✅ Up] " + heartbeatJSON["msg"] + "\nTime (UTC): " + heartbeatJSON["time"],
}
await axios.post(pushbulletUrl, updata, config)
}