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 attribute sync
azivner9c85303c9473
diff --git a/services/sync.js b/services/sync.jsindex 6504f13e23..6d923d6161 100644--- a/services/sync.js+++ b/services/sync.js@@ -146,6 +146,9 @@ async function pullSync(syncContext) {else if (sync.entity_name === 'notes_image') {await syncUpdate.updateNoteImage(resp, syncContext.sourceId);}+ else if (sync.entity_name === 'attributes') {+ await syncUpdate.updateAttribute(resp, syncContext.sourceId);+ }else {throw new Error(`Unrecognized entity type ${sync.entity_name} in sync #${sync.id}`);}