mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 13:50:42 +08:00
force note sync will sync also note content
This commit is contained in:
parent
bcbbf4dc3e
commit
2fb3a3eff9
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue