From 438138adc5f28d71136d4e8876e5b86c17e8b568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Tue, 10 Apr 2018 10:33:28 +0200 Subject: [PATCH] Make it possible to send triggers with testmessenger --- src/app/testmessenger/testmessenger.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); } }