diff --git a/app/Http/Resources/SimBrief.php b/app/Http/Resources/SimBrief.php index 26c26aa6..fc0fef62 100644 --- a/app/Http/Resources/SimBrief.php +++ b/app/Http/Resources/SimBrief.php @@ -13,7 +13,7 @@ class SimBrief extends Resource { return [ 'id' => $this->id, - 'url' => url(route('api.flights.briefing', ['id' => $this->id])), + 'url' => url(route('api.flights.briefing', ['id' => $this->flight_id])), ]; } }