ledger stuff for users
This commit is contained in:
@@ -234,8 +234,8 @@ class MiningTaxesController extends Controller
|
||||
$character = $lookup->GetCharacterInfo($config['primary']);
|
||||
|
||||
//Get the corporation information from the character id
|
||||
$corpInfo = $lookup->GetCorporationInfo(auth()->user()->getId());
|
||||
dd($corpInfo);
|
||||
$corpInfo = $lookup->GetCorporationInfo($character->corporation_id);
|
||||
|
||||
//Get the observers from the database
|
||||
$observers = Observer::all();
|
||||
|
||||
|
||||
@@ -29,9 +29,7 @@ class LookupHelper {
|
||||
public function __construct() {
|
||||
//Declare a variable for use by the construct
|
||||
$esiHelper = new Esi;
|
||||
$config = config('esi');
|
||||
$refreshToken = $esiHelper->GetRefreshToken($config['primary']);
|
||||
$this->esi = $esiHelper->SetupEsiAuthentication($refreshToken);
|
||||
$this->esi = $esiHelper->SetupEsiAuthentication();
|
||||
}
|
||||
|
||||
public function ItemNameToId($itemName) {
|
||||
|
||||
Reference in New Issue
Block a user