From 81c01fb3c285ea9877e9c5954f83722b0409233d Mon Sep 17 00:00:00 2001 From: marlon-erler Date: Mon, 8 Jul 2024 19:51:48 +0200 Subject: [PATCH] fix message definition --- websocket-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-handler.ts b/websocket-handler.ts index 5ab0d54..83ce08f 100644 --- a/websocket-handler.ts +++ b/websocket-handler.ts @@ -26,7 +26,7 @@ export interface WebSocketMessage { // subscribing to channel subscribeChannel?: string; unsubscribeChannel?: string; - subscribed?: string; // sent by server to confirm subscription + subscribed?: boolean; // sent by server to confirm subscription //sending message messageChannel?: string;