Skip to content

Commit

Permalink
Update auth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jan 6, 2025
1 parent d0b856a commit 52a9f6a
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 = (lower(response["secure"]) == "true")
secure = (response["secure"] == "True")
else:
endpoint_parse = re.match(r"(https*):\/\/(.+)?", endpoint)
if endpoint_parse is not None:
Expand Down

0 comments on commit 52a9f6a

Please sign in to comment.