entity stuff for blacklist'
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user