mirror of
https://github.com/outline/outline.git
synced 2026-11-29 00:29:36 +03:00
wip
This commit is contained in:
1 parent
3e0cd3b3aa
commit
2a1bc4934c
2 files changed
+2
-2
No files matched your search
@@ -60,7 +60,7 @@ export default class Persistence {
|
||||
await documentUpdater({
|
||||
documentId,
|
||||
ydoc: document,
|
||||
userId: context.user?.id,
|
||||
userId: context.user.id,
|
||||
});
|
||||
},
|
||||
DELAY,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user