Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng committed Sep 12, 2024
1 parent 3ac8268 commit e845ebe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Services/Masa.Dcc.Service/Services/AppService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public Task<AppDetailModel> GetAsync(IPmClient pmClient, int id)
return pmClient.AppService.GetAsync(id);
}

public async Task<List<LatestReleaseConfigModel>> GetLatestReleaseConfigByAppAsync(IEventBus eventBus, IHttpContextAccessor httpContext, IAuthClient authClient, LatestReleaseConfigRequestDto<int> request)
public async Task<List<LatestReleaseConfigModel>> GetLatestReleaseConfigByAppAsync(IEventBus eventBus, IAuthClient authClient, LatestReleaseConfigRequestDto<int> request)
{
var query = new AppLatestReleaseQuery(request.Items, request.EnvClusterId);
await eventBus.PublishAsync(query);
Expand All @@ -30,12 +30,12 @@ public async Task<List<LatestReleaseConfigModel>> GetLatestReleaseConfigByAppAsy

public async Task<List<AppDetailModel>> GetListAsync(IPmClient pmClient)
{
return await pmClient.AppService.GetListAsync();
return await pmClient.AppService.GetListAsync();
}

public async Task<List<AppDetailModel>> GetListByProjectIdsAsync(IPmClient pmClient, [FromBody] List<int> projectIds)
{
return await pmClient.AppService.GetListByProjectIdsAsync(projectIds);
return await pmClient.AppService.GetListByProjectIdsAsync(projectIds);
}

public async Task<AppDetailModel> GetWithEnvironmentClusterAsync(IPmClient pmClient, int id)
Expand Down

0 comments on commit e845ebe

Please sign in to comment.