add ignoreMissing flag to becca's getNotes()

This commit is contained in:
zadam
2021-07-22 21:23:01 +02:00
parent f9cfd134b7
commit 7261ab69bc
3 changed files with 7 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ function getEditedNotesOnDate(req) {
ORDER BY isDeleted
LIMIT 50`, {date: req.params.date + '%'});
const notes = becca.getNotes(noteIds);
const notes = becca.getNotes(noteIds, true);
for (const note of notes) {
const notePath = note.isDeleted ? null : beccaService.getNotePath(note.noteId);