sov bills job work

This commit is contained in:
2020-04-04 02:43:07 -05:00
parent f13326f7d3
commit d2fbac3a70

View File

@@ -86,15 +86,15 @@ class SovBillsCommand extends Command
$configuration = Configuration::getInstance();
$configuration->cache = NullCache::class;
//Create an ESI authentication container
$esi = $esiHelper->SetupEsiAuthentication($token);
$esi->setVersion('v4');
$token = $esiHelper->GetRefreshToken($config['primary']);
if($token == null) {
return null;
}
//Create an ESI authentication container
$esi = $esiHelper->SetupEsiAuthentication($token);
$esi->setVersion('v4');
//Reference to see if the character is in our look up table for corporations and characters
$char = $lookup->GetCharacterInfo($charId);
$corpId = $char->corporation_id;