diff --git a/app/Console/Commands/MiningTaxes/MiningTaxesLedgers.php b/app/Console/Commands/MiningTaxes/MiningTaxesLedgers.php index 56dc26721..0a1e7f4ea 100644 --- a/app/Console/Commands/MiningTaxes/MiningTaxesLedgers.php +++ b/app/Console/Commands/MiningTaxes/MiningTaxesLedgers.php @@ -61,7 +61,7 @@ class MiningTaxesLedgers extends Command //For each of the observers, send a job to fetch the mining ledger foreach($observers as $obs) { //Dispatch the mining taxes ledger jobs - FetchMiningTaxesLedgersJob::dispatch($config['corporation'], $obs->observer_id)->onQueue('miningtaxes'); + FetchMiningTaxesLedgersJob::dispatch($config['primary'], $config['corporation'], $obs->observer_id)->onQueue('miningtaxes'); } //Return 0 diff --git a/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesLedgersJob.php b/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesLedgersJob.php index cf68315f3..91a57dd2a 100644 --- a/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesLedgersJob.php +++ b/app/Jobs/Commands/MiningTaxes/FetchMiningTaxesLedgersJob.php @@ -54,7 +54,7 @@ class FetchMiningTaxesLedgersJob implements ShouldQueue * * @return void */ - public function __construct($corpId, $observerId) + public function __construct($charId, $corpId, $observerId) { //Set the connection for the job $this->connection = 'redis';