mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-01 03:49:24 +08:00 
			
		
		
		
	Update lunasea "up" body content
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
		| @@ -501,7 +501,7 @@ class Notification { | |||||||
|                 if (heartbeatJSON["status"] == 1) { |                 if (heartbeatJSON["status"] == 1) { | ||||||
|                     let updata = { |                     let updata = { | ||||||
|                         "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(lunaseadevice, updata) |                     await axios.post(lunaseadevice, updata) | ||||||
|                     return okMsg; |                     return okMsg; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user