Skip to content

Commit

Permalink
chore: mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsvante committed Jun 20, 2021
1 parent f8621bc commit 59b5383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi_security/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async def dependency(
raise HTTPException(
status_code=401,
detail="Could not validate credentials",
headers=Headers(
headers=Headers( # type: ignore[arg-type]
raw=[(b"WWW-Authenticate", o.encode("latin-1")) for o in options],
),
)
Expand Down

0 comments on commit 59b5383

Please sign in to comment.