More work on the pirep/acars maps

This commit is contained in:
Nabeel Shahzad
2017-12-28 14:35:28 -06:00
parent ee328dabc6
commit 9d92d8af55
7 changed files with 40 additions and 50 deletions

View File

@@ -73,7 +73,7 @@ class AcarsReplay extends Command
$flight_number = substr($flight->callsign, 3);
$response = $this->httpClient->post('/api/pirep/prefile', [
$response = $this->httpClient->post('/api/pireps/prefile', [
'json' => [
'airline_id' => 1,
'flight_number' => $flight_number,
@@ -97,7 +97,7 @@ class AcarsReplay extends Command
*/
protected function filePirep($pirep_id)
{
$response = $this->httpClient->post('/api/pirep/'.$pirep_id.'/file', [
$response = $this->httpClient->post('/api/pireps/'.$pirep_id.'/file', [
'json'=> []
]);