diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/scheduler/scheduled_statuses_scheduler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/scheduler/scheduled_statuses_scheduler.rb b/app/workers/scheduler/scheduled_statuses_scheduler.rb index 70a45846b..1772a246b 100644 --- a/app/workers/scheduler/scheduled_statuses_scheduler.rb +++ b/app/workers/scheduler/scheduled_statuses_scheduler.rb @@ -7,7 +7,7 @@ class Scheduler::ScheduledStatusesScheduler def perform due_statuses.find_each do |scheduled_status| - PublishScheduledStatusWorker.perform_at(scheduled_status.scheduled_at) + PublishScheduledStatusWorker.perform_at(scheduled_status.scheduled_at, scheduled_status.id) end end |