Skip to content

Commit

Permalink
fix(jobs): Fixed process funding schedules not running
Browse files Browse the repository at this point in the history
This job's query was still referencing the old table name and was
failing to actually run.
  • Loading branch information
elliotcourant committed May 27, 2024
1 parent 3952116 commit eaecc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/repository/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (j *jobRepository) GetFundingSchedulesToProcess() ([]ProcessFundingSchedule
"funding_schedules"."bank_account_id",
array_agg("funding_schedules"."funding_schedule_id") AS "funding_schedule_ids"
FROM "funding_schedules"
WHERE "funding_schedules"."next_occurrence" < ?
WHERE "funding_schedules"."next_recurrence" < ?
GROUP BY "funding_schedules"."account_id", "funding_schedules"."bank_account_id"
`,
j.clock.Now(),
Expand Down

0 comments on commit eaecc96

Please sign in to comment.