esi update for observers

This commit is contained in:
2021-03-21 22:27:26 +09:00
parent ea855611e3
commit cf7848b966

View File

@@ -95,11 +95,9 @@ class MiningTaxesObservers extends Command
//Declare the structure helper //Declare the structure helper
$sHelper = new StructureHelper($config['primary'], $config['corporation']); $sHelper = new StructureHelper($config['primary'], $config['corporation']);
dd($observer);
//Get the structure name from the universe endpoint to store in the database //Get the structure name from the universe endpoint to store in the database
$observerName = $sHelper->GetStructureName($observer->observer_id); $observerName = $sHelper->GetStructureName($observer->observer_id);
dd($observerName);
$found = Observer::where([ $found = Observer::where([
'observer_id' => $observer->observer_id, 'observer_id' => $observer->observer_id,
])->count(); ])->count();