Skip to content

Commit

Permalink
fix: fixed mistake in enum field name
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhen-burkovskyi committed May 15, 2024
1 parent 8bea6bb commit 6483209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/lib/okp4/enums/endpoints.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export enum Endpoints {
SPENDABLE_BALANCE = 'cosmos/bank/v1beta1/spendable_balances',
VALIDATORS = 'cosmos/staking/v1beta1/validators',
TOTAL_SUPPLY = 'cosmos/bank/v1beta1/supply',
VALIDATO_DELEGATIONS = 'cosmos/staking/v1beta1/validators/:validator_addr/delegations',
VALIDATOR_DELEGATIONS = 'cosmos/staking/v1beta1/validators/:validator_addr/delegations',
}
2 changes: 1 addition & 1 deletion src/core/lib/okp4/okp4.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class Okp4Service {
}
return this.getWithErrorHandling(
this.constructUrl(
Endpoints.VALIDATO_DELEGATIONS.replace(
Endpoints.VALIDATOR_DELEGATIONS.replace(
RouteParam.VALIDATOR_ADDRES,
validatorAddr,
),
Expand Down

0 comments on commit 6483209

Please sign in to comment.