Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Li committed Aug 31, 2023
1 parent 08ffe14 commit ad28d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v4-client-py/dydx4/clients/helpers/request_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def generate_query_path(url, params):
if not entries:
return url

paramsString = '&'.join('{key}={value.lower() if isinstance(value, bool) else value}'.format(
paramsString = '&'.join('{key}={str(value).lower() if isinstance(value, bool) else value}'.format(
key=x[0], value=x[1]) for x in entries if x[1] is not None)
if paramsString:
return url + '?' + paramsString
Expand Down

0 comments on commit ad28d91

Please sign in to comment.