From 87f405d57ea8a14bc56c5e7a416203f509b581d9 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 12 Dec 2019 00:07:08 -0600 Subject: [PATCH] test controller --- app/Library/Lookups/LookupHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,