larxius commited on
Commit
9b236ab
·
verified ·
1 Parent(s): fa9cdbe

Update backend_structured/routes.py

Browse files
Files changed (1) hide show
  1. backend_structured/routes.py +1 -0
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
  })