diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index b582dedc3..73f177b40 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -147,12 +147,12 @@ class LookupHelper { } public function GetCharacterInfo($charId) { - dd($charId); - //Check our own database first $char = $this->LookupCharacter($charId, null); + //if the character was not found in the database, then get the information and store it in our database for later if($char == null) { + dd($char); try { $response = $this->esi->invoke('get', '/characters/{character_id}/', [ 'character_id' => $charId,