diff --git a/src/Api/StatsControllerProvider.php b/src/Api/StatsControllerProvider.php index ff96889..a9f2b92 100644 --- a/src/Api/StatsControllerProvider.php +++ b/src/Api/StatsControllerProvider.php @@ -46,6 +46,7 @@ class StatsControllerProvider implements ControllerProviderInterface } $stats['games']['total'] = $gameRepo->getCount(); + $stats['users']['total'] = $userRepo->getCount(); return new CustomJsonResponse($stats, function($data) use ($app){return $app['serializer']->serialize($data, 'json');}, 200); });