Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix sorting notes
azivner660908c54b81
diff --git a/src/services/tree.js b/src/services/tree.jsindex 41f494927f..c35c9fe6f0 100644--- a/src/services/tree.js+++ b/src/services/tree.js@@ -2,6 +2,7 @@const sql = require('./sql');const sync_table = require('./sync_table');+const protected_session = require('./protected_session');async function validateParentChild(res, parentNoteId, childNoteId, noteTreeId = null) {const existing = await getExistingNoteTree(parentNoteId, childNoteId);