test controller

This commit is contained in:
2019-12-12 00:07:42 -06:00
parent 87f405d57e
commit 5ded4dc3a3

View File

@@ -152,7 +152,7 @@ class LookupHelper {
//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) {
dd($char);
try { try {
$response = $this->esi->invoke('get', '/characters/{character_id}/', [ $response = $this->esi->invoke('get', '/characters/{character_id}/', [
'character_id' => $charId, 'character_id' => $charId,
@@ -162,6 +162,8 @@ class LookupHelper {
return null; return null;
} }
dd($response);
//Store the character in our database //Store the character in our database
$this->SaveCharacter($response, $charId); $this->SaveCharacter($response, $charId);