mirror of https://github.com/kortix-ai/suna.git
fix(billing): update cutoff date for usage logs to June 28, 2025
This commit is contained in:
parent
9795510071
commit
938eb043c2
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue