mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
force note sync will sync also note content
This commit is contained in:
parent
bcbbf4dc3e
commit
2fb3a3eff9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user