diff --git a/CryptoExchange.Net/RestClient.cs b/CryptoExchange.Net/RestClient.cs index c7797d1..04bee18 100644 --- a/CryptoExchange.Net/RestClient.cs +++ b/CryptoExchange.Net/RestClient.cs @@ -222,7 +222,7 @@ namespace CryptoExchange.Net } string? paramString = null; - if (parameterPosition == HttpMethodParameterPosition.InBody) + if (paramsPosition == HttpMethodParameterPosition.InBody) paramString = " with request body " + request.Content; if (log.Level == LogLevel.Trace)