Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update backend_structured/routes.py
Browse files
backend_structured/routes.py
CHANGED
|
@@ -1211,6 +1211,7 @@ def get_global_stats(current_user):
|
|
| 1211 |
'id': u.id,
|
| 1212 |
'email': u.email,
|
| 1213 |
'role': u.role,
|
|
|
|
| 1214 |
'org_name': org.name if org else 'No Org (Super Admin)',
|
| 1215 |
'created_at': u.created_at.isoformat() + 'Z' if u.created_at else None
|
| 1216 |
})
|
|
|
|
| 1211 |
'id': u.id,
|
| 1212 |
'email': u.email,
|
| 1213 |
'role': u.role,
|
| 1214 |
+
'org_id': u.org_id,
|
| 1215 |
'org_name': org.name if org else 'No Org (Super Admin)',
|
| 1216 |
'created_at': u.created_at.isoformat() + 'Z' if u.created_at else None
|
| 1217 |
})
|