mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 22:35:50 +01:00
moving deleteNote and deleteBranch into entities to make them accessible to scripts, #2792
This commit is contained in:
@@ -71,7 +71,7 @@ function register(router) {
|
||||
return res.sendStatus(204);
|
||||
}
|
||||
|
||||
noteService.deleteBranch(branch, null, new TaskContext('no-progress-reporting'));
|
||||
branch.deleteBranch();
|
||||
|
||||
res.sendStatus(204);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user