mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fix setting mime after import + cleanup of old search code
This commit is contained in:
@@ -18,6 +18,7 @@ function updateFile(req) {
|
||||
noteRevisionService.createNoteRevision(note);
|
||||
|
||||
note.mime = file.mimetype.toLowerCase();
|
||||
note.save();
|
||||
|
||||
note.setContent(file.buffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user