Skip to content

Commit

Permalink
Merge pull request #2456 from teamforus/fixes.top-up-command
Browse files Browse the repository at this point in the history
fix top-up command
  • Loading branch information
RobinMeles authored Dec 26, 2024
2 parents 4eaf893 + df4efa8 commit 78b2196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/BankProcessFundTopUpsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function processTopUps(): void
FundQuery::whereIsInternal($funds);
FundQuery::whereIsConfiguredByForus($funds);

foreach ($funds as $fund) {
foreach ($funds->get() as $fund) {
DB::transaction(function() use ($fund) {
$this->processFund($fund);
sleep($this->fetchInterval);
Expand Down

0 comments on commit 78b2196

Please sign in to comment.