mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
uploading new image revisions, WIP
This commit is contained in:
@@ -32,7 +32,7 @@ async function importSingleFile(taskContext, file, parentNote) {
|
||||
}
|
||||
|
||||
async function importImage(file, parentNote, taskContext) {
|
||||
const {note} = await imageService.saveImage(file.buffer, file.originalname, parentNote.noteId, taskContext.data.shrinkImages);
|
||||
const {note} = await imageService.saveImage(parentNote.noteId, file.buffer, file.originalname, taskContext.data.shrinkImages);
|
||||
|
||||
taskContext.increaseProgressCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user