mirror of https://github.com/louislam/uptime-kuma
Update pushbullet up body
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>pull/315/head
parent
3bf380c684
commit
d346afd33b
|
@ -538,7 +538,7 @@ class Notification {
|
||||||
let updata = {
|
let updata = {
|
||||||
"type": "note",
|
"type": "note",
|
||||||
"title": "UptimeKuma Alert: " + monitorJSON["name"],
|
"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)
|
await axios.post(pushbulletUrl, updata, config)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue