create function sendNotification
This commit is contained in:
		
							parent
							
								
									7b0be9250e
								
							
						
					
					
						commit
						a74961769d
					
				| 
						 | 
					@ -63,10 +63,11 @@ const sendNotification = async () => {
 | 
				
			||||||
            console.log("RESTART: ", stdout);
 | 
					            console.log("RESTART: ", stdout);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            let content = "Server die! Restart ...";
 | 
					            let content = "Server die! Restart ...";
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
            let params = {
 | 
					            let params = {
 | 
				
			||||||
              type: "stream",
 | 
					              type: "stream",
 | 
				
			||||||
              to: "Result test - auto.nswteam.net",
 | 
					              to: "Result test - auto.nswteam.net",
 | 
				
			||||||
              topic: "test",
 | 
					              topic: "AU-dev",
 | 
				
			||||||
              content: content,
 | 
					              content: content,
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue