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