Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
server: Remove log and fix whitespace
Elian Doran606490a611c9
diff --git a/src/services/import/zip.ts b/src/services/import/zip.tsindex f8391350b9..0c4008ddf6 100644--- a/src/services/import/zip.ts+++ b/src/services/import/zip.ts@@ -231,7 +231,7 @@ async function importZip(taskContext: TaskContext, fileBuffer: Buffer, importRooif (!parentNoteId) {throw new Error("Missing parent note ID.");}-+const {note} = noteService.createNewNote({parentNoteId: parentNoteId,title: noteTitle || "",@@ -462,14 +462,13 @@ async function importZip(taskContext: TaskContext, fileBuffer: Buffer, importRoo}let type = resolveNoteType(noteMeta?.type);- console.log("Resolved note type is ", noteMeta?.type, resolveNoteType(noteMeta?.type));if (type !== 'file' && type !== 'image') {content = content.toString("utf-8");}const noteTitle = utils.getNoteTitle(filePath, taskContext.data?.replaceUnderscoresWithSpaces || false, noteMeta);-+content = processNoteContent(noteMeta, type, mime, content, noteTitle || "", filePath);let note = becca.getNote(noteId);