Skip to content

Commit ccc4662

Browse files
authored
Merge pull request #263 from Leshaka/fix/incorrect_api_version_param
fix api version param name
2 parents 1cb53c2 + d8f2383 commit ccc4662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nextcore/http/client/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ async def connect_to_gateway(
429429
# These have different behaviour when not provided and set to None.
430430
# This only adds them if they are provided (not Undefined)
431431
if version is not UNDEFINED:
432-
params["version"] = version
432+
params["v"] = version
433433
if encoding is not UNDEFINED:
434434
params["encoding"] = encoding
435435
if compress is not UNDEFINED:

0 commit comments

Comments
 (0)