mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
server-ts: Convert etapi/bbranches
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user