Skip to content

Commit

Permalink
Fix provider list response. (#1886)
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj authored Feb 24, 2025
1 parent 7282793 commit 92a3db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ export class ResourcesApi {
/** Return array of provider ids for supplied resource type */
private getProvidersForResourceType(resType: string): Array<string> {
const result: string[] = this.resProvider[resType]
? Object.keys(this.resProvider[resType])
? Array.from(this.resProvider[resType].keys())
: []
debug(`getProvidersForResourceType().result = ${result}`)
return result
Expand Down

0 comments on commit 92a3db8

Please sign in to comment.