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

This commit is contained in:
zadam 2021-12-28 20:08:17 +01:00
parent 00f24bdb63
commit 257cc66f62

View file

@ -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);