logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

block_worker.rb (221B)


  1. # frozen_string_literal: true
  2. class BlockWorker
  3. include Sidekiq::Worker
  4. def perform(account_id, target_account_id)
  5. AfterBlockService.new.call(Account.find(account_id), Account.find(target_account_id))
  6. end
  7. end