Skip to content

Commit 352e40a

Browse files
committed
SDK-1076: Fix client passing wrong params when getting activity details and syntax error in SignedRequest object
1 parent e260348 commit 352e40a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

yoti_python_sdk/client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ def __init__(self, sdk_id=None, pem_file_path=None):
4141
self.__endpoint = Endpoint(sdk_id)
4242

4343
def get_activity_details(self, encrypted_request_token):
44-
content = None
45-
response = self.__make_activity_details_request(
46-
encrypted_request_token, content
47-
)
44+
response = self.__make_activity_details_request(encrypted_request_token)
4845
receipt = json.loads(response.text).get("receipt")
4946

5047
proto = protobuf.Protobuf()

yoti_python_sdk/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __merge_query_params(query_params, required):
6060
if query_params is None:
6161
return required
6262

63-
merged = query_params.copy(query_params)
63+
merged = query_params.copy()
6464
merged.update(required)
6565
return merged
6666

0 commit comments

Comments
 (0)