This commit is contained in:
Marcel Pociot 2018-12-04 14:06:16 +01:00
parent c8781c29f4
commit 6272ea4151
1 changed files with 1 additions and 1 deletions

View File

@ -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) {