You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(billing): use server-computed end_timestamp in Overview and load user within transaction
- Overview section now uses actual end_timestamp from store instead of
recomputing via JS arithmetic that diverges from server clamping
- Simplified billingPeriod filter to format a single date
- createBillingUsageForUser now accepts tx parameter to keep user read
within the same CockroachDB transaction snapshot
- Removed UserRepository dependency from BillingUsageRepository since
user is loaded directly via the transaction
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments