From 461727b20f22a96303e412dc8961a7786b047a46 Mon Sep 17 00:00:00 2001 From: Jack Waller Date: Fri, 6 Dec 2024 16:39:18 +1100 Subject: [PATCH] chore: stringify last message to maintain same format --- src/wsConnectionManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wsConnectionManager.ts b/src/wsConnectionManager.ts index 247abdc..406643b 100644 --- a/src/wsConnectionManager.ts +++ b/src/wsConnectionManager.ts @@ -280,7 +280,7 @@ async function main() { ws.send( JSON.stringify({ channel: redisChannel, - data: lastMessage, + data: JSON.stringify(lastMessage), }) ); }