Skip to content

Commit

Permalink
style (backend): format backend
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed Dec 20, 2024
1 parent b0a1948 commit e05a72a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion agenta-backend/agenta_backend/routers/app_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ async def create_app(
if isCloudEE():
api_key_from_headers = request.headers.get("Authorization", None)
if api_key_from_headers is not None:
api_key = api_key_from_headers.split(" ")[-1] # ["ApiKey", "xxxxx.xxxxxx"]
api_key = api_key_from_headers.split(" ")[
-1
] # ["ApiKey", "xxxxx.xxxxxx"]
await check_apikey_action_access(
api_key,
request.state.user_id,
Expand Down

0 comments on commit e05a72a

Please sign in to comment.