Make it possible to send triggers with testmessenger

This commit is contained in:
Kristóf Tóth 2018-04-10 10:33:28 +02:00
parent f9f8a3f70c
commit 438138adc5

View File

@ -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']);
}
}