Refactor getAllTeams method in PullRequestsDashboardProvider

Signed-off-by: Quadman <QuadmanSWE@gmail.com>
This commit is contained in:
Quadman
2024-04-07 17:38:20 +02:00
parent fbdd051829
commit 5ce79db67e
@@ -48,7 +48,7 @@ export class PullRequestsDashboardProvider {
public async readTeams(limit?: number): Promise<void> {
this.logger.info('Reading teams.');
let teams = await this.azureDevOpsApi.getAllTeams(limit);
let teams = await this.azureDevOpsApi.getAllTeams({ limit });
// This is used to filter out the default Azure Devops project teams.
teams = teams.filter(team =>