Skip to content

Commit

Permalink
Fix: linting return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Igoranze committed Oct 17, 2024
1 parent 588231b commit b3f4957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth2_lib/fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class HttpBearerExtractor(HTTPBearer, IdTokenExtractor):

async def __call__(self, request: Request) -> Optional[HTTPAuthorizationCredentials]:
"""Extract the Credentials from the request."""
return await self.extract(request)
return await super().__call__(request)

async def extract(self, request: Request) -> str | None:
"""Extract the token from the http_auth_credentials."""
Expand Down

0 comments on commit b3f4957

Please sign in to comment.