mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-10-20 05:35:05 +02:00
8 lines
156 B
Ruby
8 lines
156 B
Ruby
|
class ProcessingWorker
|
||
|
include Sidekiq::Worker
|
||
|
|
||
|
def perform(account_id, body)
|
||
|
ProcessFeedService.new.call(body, Account.find(account_id))
|
||
|
end
|
||
|
end
|