Update lunasea "up" body content

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Domenic Horner 2021-09-04 18:26:10 +08:00 committed by GitHub
parent dca5c59982
commit 3bf380c684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ class Notification {
if (heartbeatJSON["status"] == 1) {
let updata = {
"title": "UptimeKuma Alert: " + monitorJSON["name"],
"body": "[✅ Up]" + heartbeatJSON["msg"] + "\nTime (UTC):" + heartbeatJSON["time"],
"body": "[✅ Up] " + heartbeatJSON["msg"] + "\nTime (UTC): " + heartbeatJSON["time"],
}
await axios.post(lunaseadevice, updata)
return okMsg;