This commit is contained in:
2019-05-30 23:42:01 -05:00
parent 3ef3b12197
commit 545480056a

View File

@@ -3,12 +3,8 @@
namespace App\Console\Commands;
use Illuminate\Console\Command;
use DB;
use Log;
//Job
use App\Jobs\ProcessStructureJob;
//Library
use App\Library\Structures\StructureHelper;
use App\Library\Esi\Esi;
@@ -18,6 +14,9 @@ use Seat\Eseye\Containers\EsiAuthentication;
use Seat\Eseye\Eseye;
use Commands\Library\CommandHelper;
//Job
use App\Jobs\ProcessStructureJob;
//Models
use App\Models\Jobs\JobProcessStructure;
use App\Models\Esi\EsiScope;
@@ -124,7 +123,6 @@ class GetStructuresCommand extends Command
$totalPages = $structures->pages;
}
dd($structures);
//For each structure we retrieve dispatch a job to process it.
foreach($structures as $structure) {
$job = new JobProcessStructure;