instante-social/app/workers/bootstrap_timeline_worker.rb

10 lines
188 B
Ruby

# frozen_string_literal: true
class BootstrapTimelineWorker
include Sidekiq::Worker
def perform(account_id)
BootstrapTimelineService.new.call(Account.find(account_id))
end
end