mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 09:22:56 +00:00 
			
		
		
		
	Make it possible to send triggers with testmessenger
This commit is contained in:
		@@ -18,6 +18,6 @@ export class TestmessengerComponent implements OnInit {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  sendTestMessage() {
 | 
					  sendTestMessage() {
 | 
				
			||||||
    const jsonObject = JSON.parse(this.messageStr);
 | 
					    const jsonObject = JSON.parse(this.messageStr);
 | 
				
			||||||
    this.webSocketService.send(jsonObject['key'], jsonObject['data']);
 | 
					    this.webSocketService.send(jsonObject['key'], jsonObject['data'], jsonObject['trigger']);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user