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

This commit is contained in:
sharath 2025-06-28 17:25:48 +00:00
parent 9795510071
commit 938eb043c2
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 # Use fixed cutoff date: June 26, 2025 midnight UTC
# Ignore all token counts before this date # Ignore all token counts before this date
cutoff_date = datetime(2025, 6, 26, 0, 0, 0, tzinfo=timezone.utc) cutoff_date = datetime(2025, 6, 28, 18, 0, 0, tzinfo=timezone.utc)
start_of_month = max(start_of_month, cutoff_date) start_of_month = max(start_of_month, cutoff_date)