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

class UnmergeWorker
  include Sidekiq::Worker

  def perform(from_account_id, into_account_id)
    FeedManager.instance.unmerge_from_timeline(Account.find(from_account_id), Account.find(into_account_id))
  end
end