esi lookup helper
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -169,6 +169,7 @@ class LookupHelper {
|
||||
]);
|
||||
} catch(RequestFailedException $e) {
|
||||
Log::warning('Failed to get character information in GetCharacterInfo in Lookup');
|
||||
dd($e);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user