mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
delete progress
This commit is contained in:
@@ -78,7 +78,7 @@ async function deleteNote(req) {
|
||||
|
||||
const note = await repository.getNote(noteId);
|
||||
|
||||
const taskContext = new TaskContext(utils.randomString(10), 'delete-note');
|
||||
const taskContext = TaskContext.getInstance(req.query.taskId, 'delete-notes');
|
||||
|
||||
for (const branch of await note.getBranches()) {
|
||||
await noteService.deleteBranch(branch, taskContext);
|
||||
|
||||
Reference in New Issue
Block a user