lookup helper issues
This commit is contained in:
@@ -121,7 +121,7 @@ class LookupHelper {
|
|||||||
public function LookupCorporation($corpId) {
|
public function LookupCorporation($corpId) {
|
||||||
//Check for the character in the user_to_corporation table
|
//Check for the character in the user_to_corporation table
|
||||||
$found = CorporationToAlliance::where('corporation_id', $corpId)->get(['alliance_id']);
|
$found = CorporationToAlliance::where('corporation_id', $corpId)->get(['alliance_id']);
|
||||||
|
dd($found);
|
||||||
//If we don't find the character in the table, then we retrieve from ESI
|
//If we don't find the character in the table, then we retrieve from ESI
|
||||||
//and add the character to the table
|
//and add the character to the table
|
||||||
if(!isset($found[0]->alliance_id)) {
|
if(!isset($found[0]->alliance_id)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user