Skip to content

Commit 93a32bd

Browse files
author
Jakub Miazek
committed
fix lint UP008
1 parent 9436926 commit 93a32bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self, auto_error: bool = True):
2323
super().__init__(auto_error=auto_error)
2424

2525
async def __call__(self, request: Request):
26-
credentials: HTTPAuthorizationCredentials = await super(AuthBearer, self).__call__(request)
26+
credentials: HTTPAuthorizationCredentials = await super().__call__(request)
2727
if credentials:
2828
if not credentials.scheme == "Bearer":
2929
raise HTTPException(status_code=403, detail="Invalid authentication scheme.")

0 commit comments

Comments
 (0)