Fix document duplicate command (#1003)
This commit is contained in:
committed by
Tom Moor
parent
466ba6ec1f
commit
c9b86ec2e7
@@ -354,7 +354,7 @@ export default class DocumentsStore extends BaseStore<Document> {
|
||||
const res = await client.post('/documents.create', {
|
||||
publish: true,
|
||||
parentDocumentId: document.parentDocumentId,
|
||||
collection: document.collectionId,
|
||||
collectionId: document.collectionId,
|
||||
title: `${document.title} (duplicate)`,
|
||||
text: document.text,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user