lookup helper issues

This commit is contained in:
2019-04-28 20:40:56 -05:00
parent a070e7bdeb
commit b230e52399
+1 -1
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)) {