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 sync branch route
azivnerfdd84583368c
diff --git a/src/routes/routes.js b/src/routes/routes.jsindex e804755043..27d6e9a180 100644--- a/src/routes/routes.js+++ b/src/routes/routes.js@@ -158,6 +158,7 @@ function register(app) {apiRoute(GET, '/api/sync/labels/:labelId', syncApiRoute.getLabel);apiRoute(GET, '/api/sync/api_tokens/:apiTokenId', syncApiRoute.getApiToken);apiRoute(PUT, '/api/sync/notes', syncApiRoute.updateNote);+ apiRoute(PUT, '/api/sync/branches', syncApiRoute.updateBranch);apiRoute(PUT, '/api/sync/note_revisions', syncApiRoute.updateNoteRevision);apiRoute(PUT, '/api/sync/note_reordering', syncApiRoute.updateNoteReordering);apiRoute(PUT, '/api/sync/options', syncApiRoute.updateOption);