Browse Source
Update pushbullet up body
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
pull/315/head
Domenic Horner
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
server/notification.js
|
|
@ -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) |
|
|
|
} |
|
|
|