Skip to content

Commit

Permalink
Remove debug filter
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweininger committed Sep 19, 2023
1 parent 7614c6d commit 9cfd380
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions auth/src/VSCodeAzureSubscriptionProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ export class VSCodeAzureSubscriptionProvider extends vscode.Disposable implement
Authorization: `Bearer ${await this.getToken()}`,
}
});
const listTenantsResponseJson = await listTenantsResponse.json() as { value: TenantIdDescription[] };
return listTenantsResponseJson.value.filter(tenant => tenant.displayName?.includes('Directory'));
return (await listTenantsResponse.json() as { value: TenantIdDescription[] }).value;
}

/**
Expand Down

0 comments on commit 9cfd380

Please sign in to comment.