diff --git a/src/app/testmessenger/testmessenger.component.ts b/src/app/testmessenger/testmessenger.component.ts index a38911d..c496137 100644 --- a/src/app/testmessenger/testmessenger.component.ts +++ b/src/app/testmessenger/testmessenger.component.ts @@ -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']); } }