Fix Lunasea do not handle general message correctly #1790

This commit is contained in:
Louis Lam 2022-06-21 15:12:24 +08:00
parent 5b278ca500
commit 7ba717ee55

View File

@ -14,7 +14,7 @@ class LunaSea extends NotificationProvider {
if (heartbeatJSON == null) { if (heartbeatJSON == null) {
let testdata = { let testdata = {
"title": "Uptime Kuma Alert", "title": "Uptime Kuma Alert",
"body": "Testing Successful.", "body": msg,
}; };
await axios.post(lunaseadevice, testdata); await axios.post(lunaseadevice, testdata);
return okMsg; return okMsg;