fix: Duplicated documents use text rather than content

This commit is contained in:
Tom Moor
2024-06-26 09:20:16 -04:00
parent 6bb2953e8d
commit 2c666ddde2

View File

@@ -45,6 +45,7 @@ export default async function documentCreator({
publish, publish,
collectionId, collectionId,
parentDocumentId, parentDocumentId,
content,
template, template,
templateDocument, templateDocument,
fullWidth, fullWidth,
@@ -119,7 +120,7 @@ export default async function documentCreator({
templateDocument.content, templateDocument.content,
user user
) )
: undefined, : content,
state, state,
}, },
{ {