Skip to content

Commit

Permalink
fix redis error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Wiaderek authored and Tomasz Wiaderek committed Nov 13, 2023
1 parent a5c55c1 commit 0f29122
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0f29122

Please sign in to comment.