fix undelete info messages

This commit is contained in:
zadam 2020-01-03 21:32:41 +01:00
parent 94a0a31f17
commit 1699646b39

View File

@ -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);