assets and structures

This commit is contained in:
2021-05-18 19:52:02 +09:00
parent da97d9b85c
commit 3237e80fb4
9 changed files with 68 additions and 15 deletions

View File

@@ -33,6 +33,9 @@ class ProcessAllianceStructures implements ShouldQueue
*/
public function __construct($s)
{
//Set the connection for the job
$this->connection = 'redis';
//Set variables
$this->structure = $s;
}
@@ -69,7 +72,7 @@ class ProcessAllianceStructures implements ShouldQueue
$esiHelper = new Esi;
//Get the solar system name
$solarName = $lookup->SolarSystemIdToName($structure->system_id);
$solarName = $lookup->SystemIdToName($structure->system_id);
$s = new Structure;
$s->structure_id = $structure->structure_id;