Update lunasea body content
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
		
							parent
							
								
									532ad3044c
								
							
						
					
					
						commit
						dca5c59982
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -492,7 +492,7 @@ class Notification {
 | 
				
			||||||
                if (heartbeatJSON["status"] == 0) {
 | 
					                if (heartbeatJSON["status"] == 0) {
 | 
				
			||||||
                    let downdata = {
 | 
					                    let downdata = {
 | 
				
			||||||
                        "title": "UptimeKuma Alert: " + monitorJSON["name"],
 | 
					                        "title": "UptimeKuma Alert: " + monitorJSON["name"],
 | 
				
			||||||
                        "body": "[🔴 Down]" + heartbeatJSON["msg"] + "\nTime (UTC):" + heartbeatJSON["time"],
 | 
					                        "body": "[🔴 Down] " + heartbeatJSON["msg"] + "\nTime (UTC): " + heartbeatJSON["time"],
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    await axios.post(lunaseadevice, downdata)
 | 
					                    await axios.post(lunaseadevice, downdata)
 | 
				
			||||||
                    return okMsg;
 | 
					                    return okMsg;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue