From f84b3b4ce0c0df491d344e5a2da68692c5aab91e Mon Sep 17 00:00:00 2001 From: Seraphim Date: Wed, 18 Sep 2024 21:49:58 +0400 Subject: [PATCH] forgotten parameters #issue-116 --- HTX.Net/Clients/SpotApi/HTXRestClientSpotApiAccount.cs | 4 ++-- HTX.Net/Clients/SpotApi/HTXRestClientSpotApiSubAccount.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HTX.Net/Clients/SpotApi/HTXRestClientSpotApiAccount.cs b/HTX.Net/Clients/SpotApi/HTXRestClientSpotApiAccount.cs index 370641f8..26229f3d 100644 --- a/HTX.Net/Clients/SpotApi/HTXRestClientSpotApiAccount.cs +++ b/HTX.Net/Clients/SpotApi/HTXRestClientSpotApiAccount.cs @@ -101,7 +101,7 @@ public async Task> InternalTransferAsync(lon parameters.AddEnum("to-account-type", toAccountType); var request = _definitions.GetOrCreate(HttpMethod.Post, $"v1/account/transfer", HTXExchange.RateLimiter.EndpointLimit, 1, true); - return await _baseClient.SendBasicAsync(request, null, ct).ConfigureAwait(false); + return await _baseClient.SendBasicAsync(request, parameters, ct).ConfigureAwait(false); } #endregion @@ -127,7 +127,7 @@ public async Task>> GetAccountHisto var request = _definitions.GetOrCreate(HttpMethod.Get, $"v1/account/history", HTXExchange.RateLimiter.EndpointLimit, 1, true, new SingleLimitGuard(5, TimeSpan.FromSeconds(2), RateLimitWindowType.Sliding, keySelector: SingleLimitGuard.PerApiKey)); - return await _baseClient.SendBasicAsync>(request, null, ct).ConfigureAwait(false); + return await _baseClient.SendBasicAsync>(request, parameters, ct).ConfigureAwait(false); } #endregion diff --git a/HTX.Net/Clients/SpotApi/HTXRestClientSpotApiSubAccount.cs b/HTX.Net/Clients/SpotApi/HTXRestClientSpotApiSubAccount.cs index 4660bd33..596f9321 100644 --- a/HTX.Net/Clients/SpotApi/HTXRestClientSpotApiSubAccount.cs +++ b/HTX.Net/Clients/SpotApi/HTXRestClientSpotApiSubAccount.cs @@ -210,7 +210,7 @@ public async Task> TransferWithSubAccountAsync(long subAccou var request = _definitions.GetOrCreate(HttpMethod.Post, $"v1/subuser/transfer", HTXExchange.RateLimiter.EndpointLimit, 1, true, new SingleLimitGuard(2, TimeSpan.FromSeconds(2), RateLimitWindowType.Sliding, keySelector: SingleLimitGuard.PerApiKey)); - return await _baseClient.SendBasicAsync(request, null, ct).ConfigureAwait(false); + return await _baseClient.SendBasicAsync(request, parameters, ct).ConfigureAwait(false); } #endregion