fix setting mime after import + cleanup of old search code

This commit is contained in:
zadam
2020-08-18 22:20:47 +02:00
parent 03d7ee9abb
commit 53c361945b
10 changed files with 13 additions and 371 deletions

View File

@@ -18,6 +18,7 @@ function updateFile(req) {
noteRevisionService.createNoteRevision(note);
note.mime = file.mimetype.toLowerCase();
note.save();
note.setContent(file.buffer);