change field to in acars table

This commit is contained in:
Nabeel Shahzad
2017-12-25 18:22:46 -06:00
parent f29a9cfdc5
commit 9916444ca2
4 changed files with 16 additions and 11 deletions

View File

@@ -89,7 +89,9 @@ class PirepController extends AppBaseController
*/
public function acars_get($id)
{
$updates = $this->acarsRepo->forPirep($this->pirepRepo->find($id));
$pirep = $this->pirepRepo->find($id);
$updates = $this->acarsRepo->forPirep($id);
return new AcarsResource($updates);
}