fix failed to error

This commit is contained in:
Nabeel Shahzad 2018-03-23 10:37:34 -05:00
parent 182cb2d33b
commit c6f423087d
4 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ class ImportCsv extends Command
/**
* @return mixed|void
* @throws \League\Csv\Exception
* @throws \Illuminate\Validation\ValidationException
*/
public function handle()
{
@ -52,7 +52,7 @@ class ImportCsv extends Command
$this->info($line);
}
foreach ($status['failed'] as $line) {
foreach ($status['errors'] as $line) {
$this->error($line);
}
}

View File

@ -182,7 +182,7 @@ class AircraftController extends Controller
{
$logs = [
'success' => [],
'failed' => [],
'errors' => [],
];
if ($request->isMethod('post')) {

View File

@ -179,7 +179,7 @@ class FareController extends Controller
{
$logs = [
'success' => [],
'failed' => [],
'errors' => [],
];
if ($request->isMethod('post')) {

View File

@ -349,7 +349,7 @@ class FlightController extends Controller
{
$logs = [
'success' => [],
'failed' => [],
'errors' => [],
];
if ($request->isMethod('post')) {