about summary refs log tree commit diff
path: root/app/workers/notification_worker.rb
blob: 386e94111f54343168b948641f8848b5667099da (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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