Skip to content

Commit

Permalink
fix: Bearer in authorization headers
Browse files Browse the repository at this point in the history
  • Loading branch information
csgulati09 committed Mar 18, 2024
1 parent 014a6dd commit 16bbae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portkey_ai/api_resources/apis/create_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def json(self) -> Mapping:
if k.lower() != "authorization":
headers[get_portkey_header(k)] = str(v)
else:
headers[k] = str(v)
headers[k] = str('Bearer ' + v)
return headers


Expand Down

0 comments on commit 16bbae6

Please sign in to comment.