Skip to content

Commit

Permalink
response["secure"] is a string but needs to be a bool
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jan 6, 2025
1 parent 16b64f9 commit 40c3809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authx/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def get_minio_client(token=None, s3_endpoint=None, bucket=None, access_key=None,
access_key = response["access_key"]
secret_key = response["secret_key"]
url = response["url"]
secure = response["secure"]
secure = (response["secure"] == "True")
else:
endpoint_parse = re.match(r"(https*):\/\/(.+)?", endpoint)
if endpoint_parse is not None:
Expand Down

0 comments on commit 40c3809

Please sign in to comment.