mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-30 00:30:40 +00: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
|