From 0f29122577444db1485264fef33777529cf64e41 Mon Sep 17 00:00:00 2001 From: Tomasz Wiaderek Date: Mon, 13 Nov 2023 17:44:05 +0100 Subject: [PATCH] fix redis error --- apps/server/src/modules/tldraw/service/tldraw.ws.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/modules/tldraw/service/tldraw.ws.service.ts b/apps/server/src/modules/tldraw/service/tldraw.ws.service.ts index 29898395b3a..49cd107f665 100644 --- a/apps/server/src/modules/tldraw/service/tldraw.ws.service.ts +++ b/apps/server/src/modules/tldraw/service/tldraw.ws.service.ts @@ -175,7 +175,7 @@ export class TldrawWsService { void this.messageHandler(ws, doc, new Uint8Array(message)); }); - const redisUpdates = await getDocUpdatesFromQueue(this.sub, doc); + const redisUpdates = await getDocUpdatesFromQueue(this.pub, doc); const redisYDoc = new Doc(); redisYDoc.transact(() => { for (const u of redisUpdates) {