Skip to content

Commit

Permalink
✏️ Ignore incompatible type timedelta
Browse files Browse the repository at this point in the history
  • Loading branch information
yezz123 committed Jul 17, 2024
1 parent d338be2 commit 8e6deac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authx/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ async def implicit_refresh_middleware(
)
payload = self.verify_token(token, verify_fresh=False)
if (
datetime.timedelta(payload.time_until_expiry)
datetime.timedelta(payload.time_until_expiry) # type: ignore
< self.config.JWT_IMPLICIT_REFRESH_DELTATIME
):
new_token = self.create_access_token(
Expand Down

0 comments on commit 8e6deac

Please sign in to comment.