Skip to content

Build your personal knowledge base with Trilium Notes

ignore missing image notes when downloading/replacing images, #2486

zadam257cc66f62fe
diff --git a/src/services/notes.js b/src/services/notes.js
index eee18cb161..c3afa563fc 100644
--- a/src/services/notes.js
+++ b/src/services/notes.js
@@ -360,7 +360,7 @@ function downloadImages(noteId, content) {
// which upon the download of all the images will update the note if the links have not been fixed before
sql.transactional(() => {
- const imageNotes = becca.getNotes(Object.values(imageUrlToNoteIdMapping));
+ const imageNotes = becca.getNotes(Object.values(imageUrlToNoteIdMapping), true);
const origNote = becca.getNote(noteId);