Improve document revision creation (#5474)

This commit is contained in:
Tom Moor
2023-06-25 08:29:24 -04:00
committed by GitHub
parent 86d6117a31
commit 7940cef517
6 changed files with 42 additions and 27 deletions

View File

@@ -899,6 +899,7 @@ router.post(
collectionId,
append,
apiVersion,
done,
} = ctx.input.body;
const editorVersion = ctx.headers["x-editor-version"] as string | undefined;
const { user } = ctx.state.auth;
@@ -937,6 +938,7 @@ router.post(
templateId,
editorVersion,
transaction,
done,
ip: ctx.request.ip,
});