chore: stringify last message to maintain same format

This commit is contained in:
Jack Waller
2024-12-06 16:39:18 +11:00
parent bad158bb7c
commit 461727b20f

View File

@@ -280,7 +280,7 @@ async function main() {
ws.send( ws.send(
JSON.stringify({ JSON.stringify({
channel: redisChannel, channel: redisChannel,
data: lastMessage, data: JSON.stringify(lastMessage),
}) })
); );
} }