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, }, {