esi lookup helper

This commit is contained in:
2019-12-12 00:37:03 -06:00
parent b3db5ab69f
commit dd8f85a356
2 changed files with 2 additions and 10 deletions

View File

@@ -183,7 +183,6 @@ class Esi {
$authentication = new EsiAuthentication([
'client_id' => $config['client_id'],
'secret' => $config['secret'],
'refresh_token' => 'N/A',
]);
} else {
$authentication = new EsiAuthentication([

View File

@@ -31,16 +31,9 @@ class LookupHelper {
//Construct
public function __construct() {
//Declare a variable for use by the construct
//$esiHelper = new Esi;
//$this->esi = $esiHelper->SetupEsiAuthentication();
$config = config('esi');
$authentication = new EsiAuthentication([
'client_id' => $config['client_id'],
'secret' => $config['secret'],
]);
$esiHelper = new Esi;
$this->esi = new Eseye($authentication);
$this->esi = $esiHelper->SetupEsiAuthentication();
}
public function ItemIdToName($itemId) {