ledger stuff for users

This commit is contained in:
2021-03-21 01:11:46 +09:00
parent c6b5f01c55
commit 0694940507
2 changed files with 3 additions and 5 deletions

View File

@@ -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();

View File

@@ -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) {