helper for console commands

This commit is contained in:
2018-12-06 18:16:10 -06:00
parent bdd4d216f2
commit c0b1273685
+1 -1
View File
@@ -154,7 +154,7 @@ class FinanceHelper {
//Check for the character the user_to_corporation table
//$found = DB::table('user_to_corporation')->where('character_id', $charId)->get();
$found = UserToCorporation::where('character_id', $charId)->get();
dd($found);
dd($found->character_id);
//If we don't find the character in the table, then let's retrieve the information from ESI
if($found == null) {
//Get the configuration for ESI from the environmental variables