* API level search of flights #484 * Add Subfleet to flights page for search
This commit is contained in:
@@ -93,6 +93,7 @@ class FlightController extends Controller
|
||||
return response($e, 503);
|
||||
}
|
||||
|
||||
// TODO: Remove any flights here that a user doesn't have permissions to
|
||||
foreach ($flights as $flight) {
|
||||
$this->flightSvc->filterSubfleets(Auth::user(), $flight);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user