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
fixed setting last_synced_pull
azivner9cef647811af
diff --git a/services/sync.js b/services/sync.jsindex edf901f237..2e4682b3f6 100644--- a/services/sync.js+++ b/services/sync.js@@ -49,7 +49,6 @@ async function pullSync() {json: true});- console.log(noteId);await sql.insert("notes", note.detail, true);@@ -64,9 +63,11 @@ async function pullSync() {await sql.insert("notes_history", history);}++ log.info("Syncing note" + noteId);}- await sql.setOption('last_synced_pull', syncTimestamp);+ await sql.setOption('last_synced_pull', resp.syncTimestamp);await sql.commit();}