esi lookup helper
This commit is contained in:
@@ -183,7 +183,6 @@ class Esi {
|
|||||||
$authentication = new EsiAuthentication([
|
$authentication = new EsiAuthentication([
|
||||||
'client_id' => $config['client_id'],
|
'client_id' => $config['client_id'],
|
||||||
'secret' => $config['secret'],
|
'secret' => $config['secret'],
|
||||||
'refresh_token' => 'N/A',
|
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
$authentication = new EsiAuthentication([
|
$authentication = new EsiAuthentication([
|
||||||
|
|||||||
@@ -31,16 +31,9 @@ class LookupHelper {
|
|||||||
//Construct
|
//Construct
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
//Declare a variable for use by the construct
|
//Declare a variable for use by the construct
|
||||||
//$esiHelper = new Esi;
|
$esiHelper = new Esi;
|
||||||
//$this->esi = $esiHelper->SetupEsiAuthentication();
|
|
||||||
$config = config('esi');
|
|
||||||
|
|
||||||
$authentication = new EsiAuthentication([
|
$this->esi = $esiHelper->SetupEsiAuthentication();
|
||||||
'client_id' => $config['client_id'],
|
|
||||||
'secret' => $config['secret'],
|
|
||||||
]);
|
|
||||||
|
|
||||||
$this->esi = new Eseye($authentication);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ItemIdToName($itemId) {
|
public function ItemIdToName($itemId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user