troubleshooting

This commit is contained in:
2018-12-24 12:18:41 -06:00
parent 9321ea61cb
commit 8837646f44
+2 -2
View File
@@ -64,9 +64,9 @@ class CorpJournal extends Command
//Get the corps with structures logged in the database
$corps = CorpStructure::select('corporation_id')->groupBy('corporation_id')->get();
foreach($corps as $corp) {
$charId = CorpStructure::where(['corporation_id' => $corp->corporation_id])->first(['character_id']);
$charId = CorpStructure::where(['corporation_id' => $corp->corporation_id])->get();
$this->line($charId);
$finance->GetWalletJournal(1, $charId['character_id']);
$finance->GetWalletJournal(1, $charId->character_id);
}
//Mark the job as finished