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