Browse Source
			
			
			Update pushbullet down body
			
				Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
			
			
				pull/315/head
			
			
		 
		
			
				
					
						 Domenic Horner
					
					4 years ago
						Domenic Horner
					
					4 years ago
					
						
							committed by
							
								 GitHub
								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
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -531,7 +531,7 @@ class Notification { | 
			
		
	
		
			
				
					|  |  |  |                     let downdata = { | 
			
		
	
		
			
				
					|  |  |  |                         "type": "note", | 
			
		
	
		
			
				
					|  |  |  |                         "title": "UptimeKuma Alert: " + monitorJSON["name"], | 
			
		
	
		
			
				
					|  |  |  |                         "body": "[🔴 Down]" + heartbeatJSON["msg"] + "\nTime (UTC):" + heartbeatJSON["time"], | 
			
		
	
		
			
				
					|  |  |  |                         "body": "[🔴 Down] " + heartbeatJSON["msg"] + "\nTime (UTC): " + heartbeatJSON["time"], | 
			
		
	
		
			
				
					|  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |                     await axios.post(pushbulletUrl, downdata, config) | 
			
		
	
		
			
				
					|  |  |  |                 } else if (heartbeatJSON["status"] == 1) { | 
			
		
	
	
		
			
				
					|  |  | 
 |