From 6272ea415182dd6d60bd7f3b688e5df1e6dc3a14 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Tue, 4 Dec 2018 14:06:16 +0100 Subject: [PATCH] wip --- src/Dashboard/Http/Controllers/DashboardApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dashboard/Http/Controllers/DashboardApiController.php b/src/Dashboard/Http/Controllers/DashboardApiController.php index c8e620d..f7eecb5 100644 --- a/src/Dashboard/Http/Controllers/DashboardApiController.php +++ b/src/Dashboard/Http/Controllers/DashboardApiController.php @@ -6,7 +6,7 @@ class DashboardApiController { public function getStatistics($appId) { - $webSocketsStatisticsEntryModelClass = config('websockets.statistics_model'); + $webSocketsStatisticsEntryModelClass = config('websockets.statistics.model'); $statistics = $webSocketsStatisticsEntryModelClass::where('app_id', $appId)->latest()->limit(120)->get(); $statisticData = $statistics->map(function ($statistic) {