From 5fbea70f92bd36455a8356b6b6c8560588885c5a Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 28 Dec 2019 23:45:28 -0600 Subject: [PATCH] entity stuff for blacklist' --- app/Http/Controllers/Blacklist/BlacklistController.php | 1 - app/Library/Lookups/LookupHelper.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/Blacklist/BlacklistController.php b/app/Http/Controllers/Blacklist/BlacklistController.php index 63c846f76..bbfba9d9f 100644 --- a/app/Http/Controllers/Blacklist/BlacklistController.php +++ b/app/Http/Controllers/Blacklist/BlacklistController.php @@ -68,7 +68,6 @@ class BlacklistController extends Controller $charId = $lookup->CharacterNameToId($request->name); } else if($request->type == 'Corporation') { //Get the corporation id from the universe end point - dd($request->name); $corpId = $lookup->CorporationNameToId($request->name); } else if($request->type == 'Alliance') { //Get the alliance id from the universe end point diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index cccf2bc0b..149013f6c 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -310,7 +310,7 @@ class LookupHelper { public function CorporationNameToId($corpName) { //Check if the corporation is stored in our own database first $corp = $this->LookupCorporation(null, $corpName); - + dd($corp); if($corp != null) { return $corp->corporation_id; } else {