From a57f9528d79ebf307cb43f5441c26a00eb9e0451 Mon Sep 17 00:00:00 2001 From: Ruben Date: Fri, 31 Mar 2017 12:44:05 +0200 Subject: [PATCH] User total --- src/Api/StatsControllerProvider.php | 1 + 1 file changed, 1 insertion(+) 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); });