From 2fb3a3eff99a2906beb3debe09cc57f2837c6988 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 11 Oct 2019 21:24:49 +0200 Subject: [PATCH] force note sync will sync also note content --- src/routes/api/sync.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/api/sync.js b/src/routes/api/sync.js index 48a4f1e5b..fcef458fe 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);