mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
many small fixes from Intellij analysis
This commit is contained in:
@@ -65,7 +65,7 @@ function importCodeNote(taskContext, file, parentNote) {
|
||||
const detectedMime = mimeService.getMime(file.originalname) || file.mimetype;
|
||||
const mime = mimeService.normalizeMimeType(detectedMime);
|
||||
|
||||
const {note} = noteService.createNewNote({
|
||||
const { note } = noteService.createNewNote({
|
||||
parentNoteId: parentNote.noteId,
|
||||
title,
|
||||
content,
|
||||
|
||||
Reference in New Issue
Block a user