Add comments to the PIREP endpoint

This commit is contained in:
Nabeel Shahzad 2018-01-24 16:22:49 -06:00
parent 8caabb9153
commit 77d0d2bcd0

View File

@ -20,6 +20,7 @@ class Pirep extends Resource
$pirep['dpt_airport'] = new Airport($this->dpt_airport);
$pirep['arr_airport'] = new Airport($this->arr_airport);
$pirep['position'] = new Acars($this->position);
$pirep['comments'] = PirepComment::collection($this->comments);
return $pirep;
}