mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02: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;
|
const noteId = req.params.noteId;
|
||||||
|
|
||||||
await syncTableService.addNoteSync(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])) {
|
for (const branchId of await sql.getColumn("SELECT branchId FROM branches WHERE isDeleted = 0 AND noteId = ?", [noteId])) {
|
||||||
await syncTableService.addBranchSync(branchId);
|
await syncTableService.addBranchSync(branchId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user