mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +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