sov bills job work
This commit is contained in:
@@ -86,15 +86,15 @@ class SovBillsCommand extends Command
|
|||||||
$configuration = Configuration::getInstance();
|
$configuration = Configuration::getInstance();
|
||||||
$configuration->cache = NullCache::class;
|
$configuration->cache = NullCache::class;
|
||||||
|
|
||||||
//Create an ESI authentication container
|
|
||||||
$esi = $esiHelper->SetupEsiAuthentication($token);
|
|
||||||
$esi->setVersion('v4');
|
|
||||||
|
|
||||||
$token = $esiHelper->GetRefreshToken($config['primary']);
|
$token = $esiHelper->GetRefreshToken($config['primary']);
|
||||||
if($token == null) {
|
if($token == null) {
|
||||||
return 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
|
//Reference to see if the character is in our look up table for corporations and characters
|
||||||
$char = $lookup->GetCharacterInfo($charId);
|
$char = $lookup->GetCharacterInfo($charId);
|
||||||
$corpId = $char->corporation_id;
|
$corpId = $char->corporation_id;
|
||||||
|
|||||||
Reference in New Issue
Block a user