modified the way characters are looked up in the database versus esi

This commit is contained in:
2019-12-11 23:44:24 -06:00
parent e6173a7f17
commit 21a85add82
5 changed files with 72 additions and 17 deletions
@@ -62,7 +62,8 @@ class FinanceHelper {
}
//Reference to see if the character is in our look up table for corporations and characters
$corpId = $lookup->LookupCharacter($charId, null);
$char = $lookup->GetCharacterInfo($charId);
$corpId = $char->corporation_id;
//Create an ESI authentication container
$esi = $esiHelper->SetupEsiAuthentication($token);
@@ -136,7 +137,8 @@ class FinanceHelper {
}
//Refrence to see if the character is in our look up table for corporation and characters
$corpId = $lookup->LookupCharacter($charId, null);
$char = $lookup->GetCharacterInfo($charId);
$corpId = $char->corporation_id;
//Create the ESI authentication container
$esi = $esiHelper->SetupEsiAuthentication($token);
@@ -221,7 +223,8 @@ class FinanceHelper {
}
//Reference to see if the character is in our look up table for corporations and characters
$char = $lookup->LookupCharacter($charId, null);
$char = $lookup->GetCharacterInfo($charId);
$corpId = $char->corporation_id;
//Create an ESI authentication container