Skip to content

Commit

Permalink
fix: revert parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrazhnyk committed Sep 13, 2024
1 parent 69935bd commit edab2d3
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 edab2d3

Please sign in to comment.