mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-10-31 21:12:55 +00:00 
			
		
		
		
	Refactor testmessenger JSON sending
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'], jsonObject['trigger']); |     this.webSocketService.sendJSON(jsonObject); | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user