diff --git a/src/meshcore_hub/api/routes/dashboard.py b/src/meshcore_hub/api/routes/dashboard.py index a21e90a..76887c7 100644 --- a/src/meshcore_hub/api/routes/dashboard.py +++ b/src/meshcore_hub/api/routes/dashboard.py @@ -225,10 +225,7 @@ async def get_stats( session.execute( select(func.count()) .select_from(UserProfile) - .where( - UserProfile.roles.contains(member_role), - ~UserProfile.roles.contains(operator_role), - ) + .where(UserProfile.roles.contains(member_role)) ).scalar() or 0 )