Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Oct 29, 2023
1 parent 533e960 commit 099da70
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Binance.Net/Clients/SpotApi/BinanceRestClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Binance.Net/Clients/SpotApi/BinanceSocketClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<CryptoExchange.Net.CommonObjects.OrderId> IBaseRestClient.OnOrderPlaced
Expand Down

0 comments on commit 099da70

Please sign in to comment.