fix: Duplicated documents use text rather than content
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user