mirror of
https://github.com/outline/outline.git
synced 2026-11-28 16:19:46 +03:00
lint
This commit is contained in:
1 parent
2c96cc6de7
commit
c36739738d
1 file changed
+6
-3
@@ -40,9 +40,12 @@ export default async function documentMover({
|
||||
const collection = await Collection.findByPk(document.collectionId, {
|
||||
transaction,
|
||||
});
|
||||
const documentJson = await collection.removeDocumentInStructure(document, {
|
||||
save: false,
|
||||
});
|
||||
const documentJson = await collection.removeDocumentInStructure(
|
||||
document,
|
||||
{
|
||||
save: false,
|
||||
}
|
||||
);
|
||||
|
||||
// if the collection is the same then it will get saved below, this
|
||||
// line prevents a pointless intermediate save from occurring.
|
||||
|
||||
Reference in new issue
Block a user