mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix undelete info messages
This commit is contained in:
parent
94a0a31f17
commit
1699646b39
@ -74,7 +74,7 @@ async function deleteNote(req) {
|
||||
async function undeleteNote(req) {
|
||||
const note = await repository.getNote(req.params.noteId);
|
||||
|
||||
const taskContext = TaskContext.getInstance(utils.randomString(), 'undelete-notes');
|
||||
const taskContext = TaskContext.getInstance(utils.randomString(10), 'undelete-notes');
|
||||
|
||||
await noteService.undeleteNote(note, note.deleteId, taskContext);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user