fix import of ZIP with images with no meta file, closes #3649

This commit is contained in:
zadam
2023-03-02 08:44:55 +01:00
parent 46eebdc7aa
commit 540d19c67c
2 changed files with 2 additions and 9 deletions

View File

@@ -231,12 +231,6 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
const {noteMeta} = getMeta(absUrl);
if (!noteMeta) {
log.info(`Could not find note meta for URL '${absUrl}'.`);
return null;
}
const targetNoteId = getNoteId(noteMeta, absUrl);
return targetNoteId;
}