about summary refs log tree commit diff
path: root/app/workers/notification_worker.rb
blob: 473a9232bb4dfd3acd50fcc2ee799b2eb76071ec (plain) (blame)
1
2
3
4
5
6
7
class NotificationWorker
  include Sidekiq::Worker

  def perform(stream_entry_id, target_account_id)
    SendInteractionService.new.call(StreamEntry.find(stream_entry_id), Account.find(target_account_id))
  end
end