allow deleting notes including all the clones, closes #629

This commit is contained in:
zadam
2019-09-01 20:57:25 +02:00
parent c614bc3263
commit 8dadc7e518
5 changed files with 35 additions and 12 deletions

View File

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