Skip to content

Commit

Permalink
Update auth_static.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zAlweNy26 committed Oct 23, 2023
1 parent 100c7a0 commit 418577c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/cat/routes/static/auth_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs)

async def __call__(self, scope, receive, send) -> None:
reqeust = Request(scope, receive=receive)
check_api_key(reqeust.headers.get("access_token"))
request = Request(scope, receive=receive)
check_api_key(request.headers.get("access_token"))
await super().__call__(scope, receive, send)

0 comments on commit 418577c

Please sign in to comment.