fix: get list with head

This commit is contained in:
Methapon Metanipat 2024-09-25 14:13:40 +07:00
parent 630a667c64
commit ddf21992ff
2 changed files with 9 additions and 7 deletions

View file

@ -35,6 +35,7 @@ const useBranchStore = defineStore('api-branch', () => {
query?: string;
tree?: boolean;
filter?: 'head' | 'sub';
withHead?: boolean;
},
Data extends Pagination<Branch[]>,
>(opts?: Options): Promise<Data | false> {