This commit is contained in:
Tom Moor committed 2021-08-30 22:05:18 -07:00
1 parent 3e0cd3b3aa
commit 2a1bc4934c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ export default class Persistence {
await documentUpdater({
documentId,
ydoc: document,
userId: context.user?.id,
userId: context.user.id,
});
},
DELAY,
+1 -1
View File
@@ -14,7 +14,7 @@ export default async function documentUpdater({
}: {
documentId: string,
ydoc: Y.Doc,
userId?: string,
userId: string,
done?: boolean,
}) {
const document = await Document.findByPk(documentId);