esi update for observers

This commit is contained in:
2021-03-21 21:39:23 +09:00
parent 45b2269920
commit a2a9b31a25

View File

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