Skip to content

Build your personal knowledge base with Trilium Notes

fix moving notes

zadamde6ff09bb943
diff --git a/src/routes/api/branches.js b/src/routes/api/branches.js
index 3a22e448d4..ddc89bd25d 100644
--- a/src/routes/api/branches.js
+++ b/src/routes/api/branches.js
@@ -44,7 +44,6 @@ function moveBranchToParent(req) {
newBranch.save();
branchToMove.markAsDeleted();
- branchToMove.save();
return { success: true };
}