From 83c8e9539d404d7fcac9aa1f9c3b4fe7b361f7fc Mon Sep 17 00:00:00 2001 From: Andrew Skubarenko Date: Wed, 20 Mar 2024 22:00:05 +0300 Subject: [PATCH] Fix a typo --- .../dipDupBridgeDataProvider/dipDupBridgeDataProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bridgeDataProviders/dipDupBridgeDataProvider/dipDupBridgeDataProvider.ts b/src/bridgeDataProviders/dipDupBridgeDataProvider/dipDupBridgeDataProvider.ts index 5a07f4d..73ba005 100644 --- a/src/bridgeDataProviders/dipDupBridgeDataProvider/dipDupBridgeDataProvider.ts +++ b/src/bridgeDataProviders/dipDupBridgeDataProvider/dipDupBridgeDataProvider.ts @@ -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; }