From d8f2383251feba019418bf9548622f5790f60111 Mon Sep 17 00:00:00 2001 From: Leshaka Date: Wed, 20 Mar 2024 18:09:22 +0300 Subject: [PATCH] fix api version param name --- nextcore/http/client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcore/http/client/client.py b/nextcore/http/client/client.py index 19808ae03..1db9538fd 100644 --- a/nextcore/http/client/client.py +++ b/nextcore/http/client/client.py @@ -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: