diff --git a/Binance.Net/Clients/CoinFuturesApi/BinanceRestClientCoinFuturesApi.cs b/Binance.Net/Clients/CoinFuturesApi/BinanceRestClientCoinFuturesApi.cs index cd03f14eb..a2c132178 100644 --- a/Binance.Net/Clients/CoinFuturesApi/BinanceRestClientCoinFuturesApi.cs +++ b/Binance.Net/Clients/CoinFuturesApi/BinanceRestClientCoinFuturesApi.cs @@ -71,7 +71,7 @@ internal BinanceRestClientCoinFuturesApi(ILogger logger, HttpClient? httpClient, requestBodyFormat = RequestBodyFormat.FormData; arraySerialization = ArrayParametersSerialization.MultipleValues; - _brokerId = !string.IsNullOrEmpty(options.CoinFuturesOptions.BrokerId) ? options.CoinFuturesOptions.BrokerId : "x-d63tKbx3"; + _brokerId = !string.IsNullOrEmpty(options.CoinFuturesOptions.BrokerId) ? options.CoinFuturesOptions.BrokerId! : "x-d63tKbx3"; } #endregion diff --git a/Binance.Net/Clients/SpotApi/BinanceRestClientSpotApi.cs b/Binance.Net/Clients/SpotApi/BinanceRestClientSpotApi.cs index 7a537221f..a1b19ba59 100644 --- a/Binance.Net/Clients/SpotApi/BinanceRestClientSpotApi.cs +++ b/Binance.Net/Clients/SpotApi/BinanceRestClientSpotApi.cs @@ -73,7 +73,7 @@ internal BinanceRestClientSpotApi(ILogger logger, HttpClient? httpClient, Binanc requestBodyFormat = RequestBodyFormat.FormData; arraySerialization = ArrayParametersSerialization.MultipleValues; - _brokerId = !string.IsNullOrEmpty(options.SpotOptions.BrokerId) ? options.SpotOptions.BrokerId : "x-VICEW9VV"; + _brokerId = !string.IsNullOrEmpty(options.SpotOptions.BrokerId) ? options.SpotOptions.BrokerId! : "x-VICEW9VV"; } #endregion diff --git a/Binance.Net/Clients/SpotApi/BinanceSocketClientSpotApi.cs b/Binance.Net/Clients/SpotApi/BinanceSocketClientSpotApi.cs index 39e8edb40..ca5afb466 100644 --- a/Binance.Net/Clients/SpotApi/BinanceSocketClientSpotApi.cs +++ b/Binance.Net/Clients/SpotApi/BinanceSocketClientSpotApi.cs @@ -53,7 +53,7 @@ internal BinanceSocketClientSpotApi(ILogger logger, BinanceSocketOptions options ExchangeData = new BinanceSocketClientSpotApiExchangeData(logger, this); Trading = new BinanceSocketClientSpotApiTrading(logger, this); - _brokerId = !string.IsNullOrEmpty(options.SpotOptions.BrokerId) ? options.SpotOptions.BrokerId : "x-VICEW9VV"; + _brokerId = !string.IsNullOrEmpty(options.SpotOptions.BrokerId) ? options.SpotOptions.BrokerId! : "x-VICEW9VV"; } #endregion diff --git a/Binance.Net/Clients/UsdFuturesApi/BinanceRestClientUsdFuturesApi.cs b/Binance.Net/Clients/UsdFuturesApi/BinanceRestClientUsdFuturesApi.cs index 9644cbd8e..5b6147b06 100644 --- a/Binance.Net/Clients/UsdFuturesApi/BinanceRestClientUsdFuturesApi.cs +++ b/Binance.Net/Clients/UsdFuturesApi/BinanceRestClientUsdFuturesApi.cs @@ -68,7 +68,7 @@ internal BinanceRestClientUsdFuturesApi(ILogger logger, HttpClient? httpClient, requestBodyEmptyContent = ""; requestBodyFormat = RequestBodyFormat.FormData; arraySerialization = ArrayParametersSerialization.MultipleValues; - _brokerId = !string.IsNullOrEmpty(options.UsdFuturesOptions.BrokerId) ? options.UsdFuturesOptions.BrokerId : "x-d63tKbx3"; + _brokerId = !string.IsNullOrEmpty(options.UsdFuturesOptions.BrokerId) ? options.UsdFuturesOptions.BrokerId! : "x-d63tKbx3"; } event Action IBaseRestClient.OnOrderPlaced