fix(billing): update cutoff date for usage logs to June 30, 2025

This commit is contained in:
sharath 2025-06-30 13:20:24 +00:00
parent 22e1169e14
commit bcdffebcdf
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ async def get_usage_logs(client, user_id: str, page: int = 0, items_per_page: in
# Use fixed cutoff date: June 26, 2025 midnight UTC
# Ignore all token counts before this date
cutoff_date = datetime(2025, 6, 28, 18, 0, 0, tzinfo=timezone.utc)
cutoff_date = datetime(2025, 6, 30, 9, 0, 0, tzinfo=timezone.utc)
start_of_month = max(start_of_month, cutoff_date)