Skip to content

Build your personal knowledge base with Trilium Notes

force note sync will sync also note content

zadam2fb3a3eff99a
diff --git a/src/routes/api/sync.js b/src/routes/api/sync.js
index 48a4f1e5bb..fcef458fe4 100644
--- a/src/routes/api/sync.js
+++ b/src/routes/api/sync.js
@@ -75,6 +75,7 @@ async function forceNoteSync(req) {
const noteId = req.params.noteId;
await syncTableService.addNoteSync(noteId);
+ await syncTableService.addNoteContentSync(noteId);
for (const branchId of await sql.getColumn("SELECT branchId FROM branches WHERE isDeleted = 0 AND noteId = ?", [noteId])) {
await syncTableService.addBranchSync(branchId);