fix failed to error
This commit is contained in:
parent
182cb2d33b
commit
c6f423087d
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -182,7 +182,7 @@ class AircraftController extends Controller
|
||||
{
|
||||
$logs = [
|
||||
'success' => [],
|
||||
'failed' => [],
|
||||
'errors' => [],
|
||||
];
|
||||
|
||||
if ($request->isMethod('post')) {
|
||||
|
@ -179,7 +179,7 @@ class FareController extends Controller
|
||||
{
|
||||
$logs = [
|
||||
'success' => [],
|
||||
'failed' => [],
|
||||
'errors' => [],
|
||||
];
|
||||
|
||||
if ($request->isMethod('post')) {
|
||||
|
@ -349,7 +349,7 @@ class FlightController extends Controller
|
||||
{
|
||||
$logs = [
|
||||
'success' => [],
|
||||
'failed' => [],
|
||||
'errors' => [],
|
||||
];
|
||||
|
||||
if ($request->isMethod('post')) {
|
||||
|
Loading…
Reference in New Issue
Block a user