Skip to content

Commit

Permalink
Merge pull request #103 from grillazz/92-low-carbon-footprint-with-go…
Browse files Browse the repository at this point in the history
…od-cache

bump project deps
  • Loading branch information
grillazz authored Aug 13, 2023
2 parents 1a4e33f + 93a32bd commit cfebba4
Show file tree
Hide file tree
Showing 2 changed files with 247 additions and 259 deletions.
2 changes: 1 addition & 1 deletion app/services/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, auto_error: bool = True):
super().__init__(auto_error=auto_error)

async def __call__(self, request: Request):
credentials: HTTPAuthorizationCredentials = await super(AuthBearer, self).__call__(request)
credentials: HTTPAuthorizationCredentials = await super().__call__(request)
if credentials:
if not credentials.scheme == "Bearer":
raise HTTPException(status_code=403, detail="Invalid authentication scheme.")
Expand Down
Loading

0 comments on commit cfebba4

Please sign in to comment.