fix(repos): 查询分支列表接口名称错误的问题。

This commit is contained in:
Ivan Li 2021-02-28 02:07:56 +08:00
parent 3b7c50438f
commit 2d5763ac02

View File

@ -13,7 +13,7 @@ export class ReposResolver {
return await this.service.listLogs(dto); return await this.service.listLogs(dto);
} }
@Query(() => BranchList) @Query(() => BranchList)
async ListBranchesArgs( async listBranches(
@Args('listBranchesArgs') dto: ListBranchesArgs, @Args('listBranchesArgs') dto: ListBranchesArgs,
): Promise<BranchList> { ): Promise<BranchList> {
return await this.service.listBranches(dto).then((data) => { return await this.service.listBranches(dto).then((data) => {