test controller
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user