clipper endpoint should also scan and download images as a fallback, #2621

This commit is contained in:
zadam 2022-02-14 20:50:50 +01:00
parent d2d2a6c086
commit 18d439dd44
2 changed files with 5 additions and 1 deletions

View file

@ -144,6 +144,9 @@ function processContent(images, note, content) {
}
}
// fallback if parsing/downloading images fails for some reason on the extension side (
rewrittenContent = noteService.downloadImages(note.noteId, rewrittenContent);
return rewrittenContent;
}

View file

@ -949,5 +949,6 @@ module.exports = {
triggerNoteTitleChanged,
eraseDeletedNotesNow,
eraseNotesWithDeleteId,
saveNoteRevision
saveNoteRevision,
downloadImages
};