diff --git a/api/app/Http/Controllers/NewsController.php b/api/app/Http/Controllers/NewsController.php index 30a7911..f5e423f 100644 --- a/api/app/Http/Controllers/NewsController.php +++ b/api/app/Http/Controllers/NewsController.php @@ -124,9 +124,9 @@ QUERY 'type' => $category == self::$NEWS_CATEGORY ? 'nieuws' : ($category == self::$CALENDAR_CATEGORY ? 'agenda' : ( "" ) ), - 'interval' => $category == self::$NEWS_CATEGORY ? 60 + 'interval' => $category == self::$NEWS_CATEGORY ? 30 : ($category == self::$CALENDAR_CATEGORY ? 0 - : 60 ), + : 30 ), 'category' => $category, 'count' => $count ]);