mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
613e7c7521
The service used to be named ResolveRemoteAccountService resolves local accounts as well.
12 lines
212 B
Ruby
12 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
|