Skip to content

Commit

Permalink
Fix api key (#2083)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbahrai authored Jan 18, 2024
1 parent 6c982fe commit d4a58db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests_smoke/smoke/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def single_succeeded(uri: str, use_jwt: bool) -> bool:
token = create_jwt_token(Config.ADMIN_CLIENT_SECRET, client_id=Config.ADMIN_CLIENT_USER_NAME)
headers = {"Authorization": f"Bearer {token}"}
else:
headers = {"Authorization": f"ApiKey-v1 {Config.API_KEY[-36:]}"}
headers = {"Authorization": f"ApiKey-v1 {Config.API_KEY}"}

response = requests.get(
uri,
Expand Down

0 comments on commit d4a58db

Please sign in to comment.