updated assets in order to not use a model to get rid of extra models that we don't need

This commit is contained in:
2020-05-10 23:13:05 -05:00
parent 7a89b65b15
commit ad6a90d623
2 changed files with 5 additions and 9 deletions
+1 -5
View File
@@ -93,11 +93,7 @@ class GetAssetsCommand extends Command
$pages = $assets->pages;
for($i = 1; $i <= $pages; $i++) {
$job = new JobProcessAsset;
$job->charId = $charId;
$job->corpId = $corpId;
$job->page = $i;
ProcessAssetsJob::dispatch($job)->onQueue('assets');
ProcessAssetsJob::dispatch($charId, $corpId, $i)->onQueue('assets');
}
}
}