diff --git a/app/Http/Controllers/Test/TestController.php b/app/Http/Controllers/Test/TestController.php index 8846f0cf4..7476d5598 100644 --- a/app/Http/Controllers/Test/TestController.php +++ b/app/Http/Controllers/Test/TestController.php @@ -12,7 +12,9 @@ class TestController extends Controller public function displayCharTest() { $lookup = new LookupHelper; - $char = $lookup->GetCharacterInfo(93738489); + $config = config('esi'); + + $char = $lookup->GetCharacterInfo($config['primary']); return view('test.char.display')->with('char', $char); } diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index d1bfa4520..51bec0ffe 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -169,6 +169,7 @@ class LookupHelper { ]); } catch(RequestFailedException $e) { Log::warning('Failed to get character information in GetCharacterInfo in Lookup'); + dd($e); return null; }