Fix aircraft retrieval for Simbrief (#1089)

* Fix full aircraft retrieval for simbriefs

* F off StyleCI
This commit is contained in:
Nabeel S
2021-03-19 18:25:19 -04:00
committed by GitHub
parent 11824c9f8b
commit 1287766a46
10 changed files with 116 additions and 21 deletions

View File

@@ -9,7 +9,7 @@ class Bid extends Resource
public function toArray($request)
{
$res = parent::toArray($request);
$res['flight'] = new Flight($this->flight);
$res['flight'] = new BidFlight($this->flight);
return $res;
}