From 5ce79db67e6cdf36c4301af33742cd40ced6e36c Mon Sep 17 00:00:00 2001 From: Quadman Date: Sun, 7 Apr 2024 17:38:20 +0200 Subject: [PATCH] Refactor getAllTeams method in PullRequestsDashboardProvider Signed-off-by: Quadman --- .../src/api/PullRequestsDashboardProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/azure-devops-backend/src/api/PullRequestsDashboardProvider.ts b/plugins/azure-devops-backend/src/api/PullRequestsDashboardProvider.ts index dd34bd4329..1efbafd842 100644 --- a/plugins/azure-devops-backend/src/api/PullRequestsDashboardProvider.ts +++ b/plugins/azure-devops-backend/src/api/PullRequestsDashboardProvider.ts @@ -48,7 +48,7 @@ export class PullRequestsDashboardProvider { public async readTeams(limit?: number): Promise { 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 =>