entity stuff for blacklist'

This commit is contained in:
2019-12-28 23:45:28 -06:00
parent efe499456a
commit 5fbea70f92
2 changed files with 1 additions and 2 deletions
@@ -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
+1 -1
View File
@@ -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 {