From 2c666ddde272a302a8e0430966ad772a45a85350 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 26 Jun 2024 09:20:16 -0400 Subject: [PATCH] fix: Duplicated documents use text rather than content --- server/commands/documentCreator.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/commands/documentCreator.ts b/server/commands/documentCreator.ts index be0115af8..bd2af5863 100644 --- a/server/commands/documentCreator.ts +++ b/server/commands/documentCreator.ts @@ -45,6 +45,7 @@ export default async function documentCreator({ publish, collectionId, parentDocumentId, + content, template, templateDocument, fullWidth, @@ -119,7 +120,7 @@ export default async function documentCreator({ templateDocument.content, user ) - : undefined, + : content, state, }, {