Skip to content

Commit eba814c

Browse files
emmas-yotiecharrod
andauthored
SDK-1031: Use UNKNOWN_ANCHOR_TYPE for initialization of anchor
Co-Authored-By: Ed Harrod <[email protected]>
1 parent d2c4482 commit eba814c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

yoti_python_sdk/anchor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class Anchor:
2020
def __init__(
2121
self,
22-
anchor_type="Unknown",
22+
anchor_type=UNKNOWN_ANCHOR_TYPE,
2323
sub_type="",
2424
value="",
2525
signed_timestamp=None,

yoti_python_sdk/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def perform_aml_check(self, aml_profile):
100100
return aml.AmlResult(response.text)
101101

102102
def make_request(self, http_method, endpoint, body):
103-
104103
url = yoti_python_sdk.YOTI_API_ENDPOINT + endpoint
105104
headers = self.__get_request_headers(endpoint, http_method, body)
106105
response = requests.request(http_method, url, headers=headers, data=body, verify=yoti_python_sdk.YOTI_API_VERIFY_SSL)

0 commit comments

Comments
 (0)