mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
allow deleting notes including all the clones, closes #629
This commit is contained in:
@@ -103,7 +103,7 @@ async function deleteBranch(req) {
|
||||
const branch = await repository.getBranch(req.params.branchId);
|
||||
|
||||
return {
|
||||
noteDeleted: await notes.deleteNote(branch)
|
||||
noteDeleted: await notes.deleteBranch(branch)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user