lookup helper issues

This commit is contained in:
2019-04-28 20:39:46 -05:00
parent 38efe4b598
commit a070e7bdeb

View File

@@ -121,7 +121,7 @@ class LookupHelper {
public function LookupCorporation($corpId) {
//Check for the character in the user_to_corporation table
$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
//and add the character to the table
if(!isset($found[0]->alliance_id)) {