From fe73706743aafb4088ca8d698f8cd37b7d72efd8 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Wed, 8 Feb 2023 16:43:20 +0100 Subject: [PATCH] JSON_UNESCAPED_SLASHES --- routes/api.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/routes/api.php b/routes/api.php index e93543e6..0185a966 100644 --- a/routes/api.php +++ b/routes/api.php @@ -54,13 +54,13 @@ Route::middleware([]) ->with([ 'city.country', ]) -// ->where('community', '=', 'einundzwanzig') -// ->whereHas('city', -// fn($query) => $query -// ->whereNotNull('cities.simplified_geojson') -// ->whereNotNull('cities.population') -// ->whereNotNull('cities.population_date') -// ) + ->where('community', '=', 'einundzwanzig') + ->whereHas('city', + fn($query) => $query + ->whereNotNull('cities.simplified_geojson') + ->whereNotNull('cities.population') + ->whereNotNull('cities.population_date') + ) ->get() ->map(fn($meetup) => [ 'id' => $meetup->slug,