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

This commit is contained in:
2019-12-11 23:46:53 -06:00
parent b50a9b5406
commit 3484ebf04e
2 changed files with 2 additions and 1 deletions

View File

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

View File

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