mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
yet another refactoring of working with note's payload/content
This commit is contained in:
@@ -77,12 +77,12 @@ async function updateNoteContent(entity, sourceId) {
|
||||
await sql.transactional(async () => {
|
||||
await sql.replace("note_contents", entity);
|
||||
|
||||
await syncTableService.addNoteContentSync(entity.noteContentId, sourceId);
|
||||
await syncTableService.addNoteContentSync(entity.noteId, sourceId);
|
||||
|
||||
noteFulltextService.triggerNoteFulltextUpdate(entity.noteId);
|
||||
});
|
||||
|
||||
log.info("Update/sync note content " + entity.noteContentId);
|
||||
log.info("Update/sync note content for noteId=" + entity.noteId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user