diff --git a/app/services/auth_service.py b/app/services/auth_service.py index 7d78be9..af9cfc8 100644 --- a/app/services/auth_service.py +++ b/app/services/auth_service.py @@ -184,5 +184,5 @@ class AuthService: "access_token": create_access_token({"sub": user_id}), "refresh_token": create_refresh_token({"sub": user_id}), "token_type": "bearer", - "expires_at": now + settings.jwt_access_token_expire_minutes * 60, + "expires_at": now + timedelta(minutes=settings.jwt_access_token_expire_minutes), }