Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skubarenko committed Mar 20, 2024
1 parent 49f717a commit 83c8e95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export class DipDupBridgeDataProvider extends RemoteService implements Transfers
}

private getPreparedLimitParameter(limitOrFetchOptions: number | undefined | null | BalancesFetchOptions): number {
const limit = typeof limitOrFetchOptions === 'number' ? limitOrFetchOptions : limitOrFetchOptions?.offset;
const limit = typeof limitOrFetchOptions === 'number' ? limitOrFetchOptions : limitOrFetchOptions?.limit;

return limit && limit > 0 ? limit : DipDupBridgeDataProvider.defaultLoadDataLimit;
}
Expand Down

0 comments on commit 83c8e95

Please sign in to comment.