addHours(12), function () { return UserFlight::query() ->with(['departureAirport', 'arrivalAirport']) ->whereHas('user', function ($query) { $query->whereRaw("settings->>'profile_privacy' is distinct from 'private'"); }) ->orderByDesc('departure_date') ->limit(50) ->get() ->values() ->toJson(); }); } function splash(){ return Inertia::render('Splash'); } }