mirror of
https://iceshrimp.dev/blueb/Chuckya-fe-standalone.git
synced 2026-01-11 21:43:15 -08:00
The service used to be named ResolveRemoteAccountService resolves local accounts as well.
11 lines
212 B
Ruby
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
|