Skip to content

Commit

Permalink
Reduce exp time
Browse files Browse the repository at this point in the history
  • Loading branch information
ipdae committed Mar 4, 2024
1 parent 063d79c commit 4f95690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion world_boss/app/raid.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def get_currencies(db: Session) -> List[CurrencyDictionary]:
def get_jwt_auth_header() -> dict[str, str]:
encoded = jwt.encode(
{
"exp": (datetime.datetime.now() + datetime.timedelta(hours=1))
"exp": (datetime.datetime.now() + datetime.timedelta(minutes=5))
.astimezone(tz=datetime.timezone.utc)
.timestamp(),
"iss": config.headless_jwt_iss,
Expand Down

0 comments on commit 4f95690

Please sign in to comment.