feat: enhance billing dashboard with historical data & security hardening
- Fix usage tracking zero-value bug with self-healing logic - Add month selector for historical usage views - Implement start-of-month graceful initialization - Merge PR #372: Harden user-scoped access in subscription routes - Fix UI bugs in UsageDashboard component
This commit is contained in:
@@ -555,7 +555,10 @@ async def get_agent_huddle_feed_endpoint(
|
||||
try:
|
||||
user_id = str(current_user.get("id"))
|
||||
service = AgentActivityService(db, user_id)
|
||||
feed = service.get_huddle_feed(
|
||||
|
||||
# Use run_in_threadpool to execute the blocking service call in a separate thread
|
||||
feed = await run_in_threadpool(
|
||||
service.get_huddle_feed,
|
||||
since=since,
|
||||
cursor=cursor,
|
||||
runs_limit=runs_limit,
|
||||
|
||||
Reference in New Issue
Block a user