Fix PublishScheduledStatusWorker being queued with no arguments (#9724)

pull/9725/head
Eugen Rochko 2019-01-06 09:21:16 +01:00 committed by GitHub
parent c73653ce23
commit 8ad57a0426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Scheduler::ScheduledStatusesScheduler
def perform def perform
due_statuses.find_each do |scheduled_status| 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
end end