From c36739738d51a5087010abe6dfe77343d08de295 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 20 Aug 2020 20:11:58 -0700 Subject: [PATCH] lint --- server/commands/documentMover.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/server/commands/documentMover.js b/server/commands/documentMover.js index 72eeaa8f33..aa7c06eb8e 100644 --- a/server/commands/documentMover.js +++ b/server/commands/documentMover.js @@ -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.