mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
opened file change detection now useable on all note types
This commit is contained in:
@@ -285,6 +285,8 @@ function uploadModifiedFile(req) {
|
||||
return [404, `Note ${noteId} has not been found`];
|
||||
}
|
||||
|
||||
log.info(`Updating note ${noteId} with content from ${filePath}`);
|
||||
|
||||
noteRevisionService.createNoteRevision(note);
|
||||
|
||||
const fileContent = fs.readFileSync(filePath);
|
||||
|
||||
Reference in New Issue
Block a user