Skip to content

Commit

Permalink
fix(common): unleash authorization token
Browse files Browse the repository at this point in the history
Fixes use of authorization token to Unleash server.

RHINENG-1773
  • Loading branch information
vkrizan authored and jdobes committed Sep 7, 2023
1 parent 5f97473 commit 12114a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/feature_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _init_unleash_client(self):
app_name=APP_NAME,
cache=cache,
cache_directory=CFG.unleash_cache_dir,
custom_headers={"Authorization": f"Bearer {CFG.unleash_token}"},
custom_headers={"Authorization": CFG.unleash_token},
)

if CFG.unleash_url:
Expand Down

0 comments on commit 12114a1

Please sign in to comment.