Skip to content

Commit

Permalink
🚨 Fix stylecode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
b0g3r committed Mar 2, 2020
1 parent b766bc8 commit a0a12c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fastapi_security_typeform/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ async def __call__(self, request: Request) -> Optional[str]:

if signature != check_signature:
if self.auto_error:
raise HTTPException(status_code=HTTP_403_FORBIDDEN, detail="Bad signature")
raise HTTPException(
status_code=HTTP_403_FORBIDDEN, detail="Bad signature"
)
else:
return None

Expand Down

0 comments on commit a0a12c1

Please sign in to comment.