From 1699646b39d8df9a742bfc0448c9487fdd173d90 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 3 Jan 2020 21:32:41 +0100 Subject: [PATCH] fix undelete info messages --- src/routes/api/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/api/notes.js b/src/routes/api/notes.js index 256b7b58e..8ef3559db 100644 --- a/src/routes/api/notes.js +++ b/src/routes/api/notes.js @@ -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);