Skip to content

Commit

Permalink
fix: revert parameter name (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrazhnyk authored Sep 13, 2024
1 parent 252e989 commit cf0a8e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/auth-provider/auth-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export class AuthProvider {
private readonly iotaInstance: Iota

constructor(param: { [key: string]: string }) {
this.apiGatewayUrl = param?.apiGW ?? EnvironmentUtils.fetchApiGwUrl()
this.apiGatewayUrl =
param?.apiGatewayUrl ?? EnvironmentUtils.fetchApiGwUrl()
this.tokenEndpoint =
param?.tokenEndpoint ?? EnvironmentUtils.fetchElementsAuthTokenUrl()

Expand Down

0 comments on commit cf0a8e5

Please sign in to comment.