removed model for process structure job

This commit is contained in:
2020-05-10 23:25:06 -05:00
parent 6f00ffe0e8
commit 806b872465
3 changed files with 5 additions and 12 deletions

View File

@@ -13,7 +13,6 @@ use Illuminate\Foundation\Bus\Dispatchable;
use App\Library\Structures\StructureHelper;
//App Models
use App\Models\Jobs\JobProcessStructure;
use App\Models\Jobs\JobStatus;
class ProcessStructureJob implements ShouldQueue
@@ -44,11 +43,11 @@ class ProcessStructureJob implements ShouldQueue
*
* @return void
*/
public function __construct(JobProcessStructure $jps)
public function __construct($charId, $corpId, $page)
{
$this->charId = $jps->charId;
$this->corpId = $jps->corpId;
$this->page = $jps->page;
$this->charId = $charId;
$this->corpId = $corpId;
$this->page = $page;
//Set the connection for the job
$this->connection = 'redis';