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 for forced note sync
azivner99b163a04234
diff --git a/routes/api/sync.js b/routes/api/sync.jsindex bc0c1449dd..0f1bdd89eb 100644--- a/routes/api/sync.js+++ b/routes/api/sync.js@@ -58,7 +58,7 @@ router.post('/force-note-sync/:noteId', auth.checkApiAuth, async (req, res, next}for (const noteHistoryId of await sql.getFirstColumn("SELECT note_history_id FROM notes_history WHERE note_id = ?", [noteId])) {- await sync_table.addNoteTreeSync(noteHistoryId);+ await sync_table.addNoteHistorySync(noteHistoryId);}});