chinwagsocial/app/workers/resolve_account_worker.rb
Akihiko Odaki 613e7c7521 Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
The service used to be named ResolveRemoteAccountService resolves local
accounts as well.
2018-01-22 14:25:09 +01:00

11 lines
212 B
Ruby

# frozen_string_literal: true
class ResolveAccountWorker
include Sidekiq::Worker
sidekiq_options queue: 'pull', unique: :until_executed
def perform(uri)
ResolveAccountService.new.call(uri)
end
end