Skip to content

Commit

Permalink
Merge pull request #263 from Leshaka/fix/incorrect_api_version_param
Browse files Browse the repository at this point in the history
fix api version param name
  • Loading branch information
TAG-Epic authored Mar 20, 2024
2 parents 1cb53c2 + d8f2383 commit ccc4662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextcore/http/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ async def connect_to_gateway(
# These have different behaviour when not provided and set to None.
# This only adds them if they are provided (not Undefined)
if version is not UNDEFINED:
params["version"] = version
params["v"] = version
if encoding is not UNDEFINED:
params["encoding"] = encoding
if compress is not UNDEFINED:
Expand Down

0 comments on commit ccc4662

Please sign in to comment.