diff --git a/app/Http/Controllers/StatusPageController.php b/app/Http/Controllers/StatusPageController.php index cd431b4c..ba576a55 100644 --- a/app/Http/Controllers/StatusPageController.php +++ b/app/Http/Controllers/StatusPageController.php @@ -96,7 +96,7 @@ class StatusPageController extends AbstractApiController $nextDate = $startDate->copy()->addDays($appIncidentDays)->toDateString(); } - $allIncidents = Incident::with('component')->with('updates.incident') + $allIncidents = Incident::with('component', 'updates.incident') ->where('visible', '>=', (int) !Auth::check())->whereBetween('occurred_at', [ $endDate->format('Y-m-d').' 00:00:00', $startDate->format('Y-m-d').' 23:59:59',