server-ts: Convert etapi/bbranches

This commit is contained in:
Elian Doran
2024-04-07 15:21:42 +03:00
parent 602b4988ae
commit e4024408bd
3 changed files with 20 additions and 17 deletions

View File

@@ -141,7 +141,7 @@ class BBranch extends AbstractBeccaEntity<BBranch> {
*
* @returns true if note has been deleted, false otherwise
*/
deleteBranch(deleteId: string, taskContext: TaskContext): boolean {
deleteBranch(deleteId?: string, taskContext?: TaskContext): boolean {
if (!deleteId) {
deleteId = utils.randomString(10);
}