mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
fix updating non-text notes
This commit is contained in:
@@ -55,10 +55,10 @@ function createNote(req) {
|
||||
}
|
||||
|
||||
function updateNoteData(req) {
|
||||
const {content, attachments} = req.body;
|
||||
const {content} = req.body;
|
||||
const {noteId} = req.params;
|
||||
|
||||
return noteService.updateNoteData(noteId, content, attachments);
|
||||
return noteService.updateNoteData(noteId, content);
|
||||
}
|
||||
|
||||
function deleteNote(req) {
|
||||
|
||||
Reference in New Issue
Block a user