modified the way characters are looked up in the database versus esi
This commit is contained in:
@@ -138,7 +138,6 @@ class FinanceHelper {
|
|||||||
|
|
||||||
//Refrence to see if the character is in our look up table for corporation and characters
|
//Refrence to see if the character is in our look up table for corporation and characters
|
||||||
$char = $lookup->GetCharacterInfo($charId);
|
$char = $lookup->GetCharacterInfo($charId);
|
||||||
dd($char);
|
|
||||||
$corpId = $char->corporation_id;
|
$corpId = $char->corporation_id;
|
||||||
|
|
||||||
//Create the ESI authentication container
|
//Create the ESI authentication container
|
||||||
|
|||||||
@@ -150,6 +150,8 @@ class LookupHelper {
|
|||||||
//Check our own database first
|
//Check our own database first
|
||||||
$char = $this->LookupCharacter($charId, null);
|
$char = $this->LookupCharacter($charId, null);
|
||||||
|
|
||||||
|
dd($char);
|
||||||
|
|
||||||
//if the character was not found in the database, then get the information and store it in our database for later
|
//if the character was not found in the database, then get the information and store it in our database for later
|
||||||
if($char == null) {
|
if($char == null) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user