avoid ugly error in the logs, #1778

This commit is contained in:
zadam 2021-03-22 23:27:41 +01:00
parent 7e3d424e23
commit 65280d5ba3

View file

@ -233,7 +233,7 @@ async function findSimilarNotes(noteId) {
const baseNote = noteCache.notes[noteId];
if (!baseNote) {
if (!baseNote || !baseNote.utcDateCreated) {
return [];
}