Spaces:
Paused

dushyantsingh0 commited on
Commit
bde564e
·
1 Parent(s): 5a9484e

backend stabilization

Browse files
Files changed (1) hide show
  1. api/v1/system.py +1 -3
api/v1/system.py CHANGED
@@ -120,9 +120,7 @@ async def get_performance_history(
120
  select(MetaInfraHealth)
121
  .where(MetaInfraHealth.created_at >= since)
122
  )
123
- if workspace_id:
124
- stmt = stmt.where(MetaInfraHealth.workspace_id == workspace_id)
125
-
126
  stmt = stmt.order_by(MetaInfraHealth.created_at.asc())
127
  result = await db.execute(stmt)
128
  return result.scalars().all()
 
120
  select(MetaInfraHealth)
121
  .where(MetaInfraHealth.created_at >= since)
122
  )
123
+ # MetaInfraHealth is global, no workspace_id column
 
 
124
  stmt = stmt.order_by(MetaInfraHealth.created_at.asc())
125
  result = await db.execute(stmt)
126
  return result.scalars().all()