mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +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