diff --git a/app/Http/Controllers/Blacklist/BlacklistController.php b/app/Http/Controllers/Blacklist/BlacklistController.php index b5a5ba5c9..45e567144 100644 --- a/app/Http/Controllers/Blacklist/BlacklistController.php +++ b/app/Http/Controllers/Blacklist/BlacklistController.php @@ -52,7 +52,7 @@ class BlacklistController extends Controller $count = BlacklistUser::where([ 'name' => $request->name, ])->count(); - + dd($count); //If the count is 0, then add the character to the blacklist if($count === 0) { //Get the character id from the universe end point diff --git a/app/Library/Lookups/NewLookupHelper.php b/app/Library/Lookups/NewLookupHelper.php index 9e5f6d52b..b424427a0 100644 --- a/app/Library/Lookups/NewLookupHelper.php +++ b/app/Library/Lookups/NewLookupHelper.php @@ -89,7 +89,7 @@ class NewLookupHelper { if(isset($response->characters[0]->id)) { $this->StoreCharacterLookup($response->characters[0]->id, null); - dd($response); + return $response->characters[0]->id; } else { return -1;