Session api token validation

This commit is contained in:
2026-06-27 19:11:23 +10:00
parent 6e69bea82a
commit 164b590a6c
7 changed files with 66 additions and 17 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class HomePageController extends Controller
{
return Cache::remember('splash_flights', now()->addHours(12), function () {
return UserFlight::query()
->with(['departureAirport', 'arrivalAirport', 'user'])
->with(['departureAirport', 'departureAirport.region.country', 'arrivalAirport', 'arrivalAirport.region.country' ,'user', 'airline'])
->whereHas('user', function ($query) {
$query->whereRaw(DB::raw("settings->>'profile_privacy' is distinct from 'private'"));
})