fetch mining taxes ledgers job

This commit is contained in:
2021-02-22 19:48:59 +09:00
parent c95f6835ca
commit 40a4ce6fcc
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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';