mirror of
https://github.com/whippyshou/mastodon
synced 2024-11-29 07:18:48 +09:00
Fix PublishScheduledStatusWorker being queued with no arguments (#9724)
This commit is contained in:
parent
c73653ce23
commit
8ad57a0426
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user