Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
The service used to be named ResolveRemoteAccountService resolves local accounts as well.master
parent
17cecd75ca
commit
613e7c7521
@ -1,6 +1,6 @@ |
||||
# frozen_string_literal: true |
||||
|
||||
class ResolveRemoteAccountService < BaseService |
||||
class ResolveAccountService < BaseService |
||||
include OStatus2::MagicKey |
||||
include JsonLdHelper |
||||
|
@ -1,11 +1,11 @@ |
||||
# frozen_string_literal: true |
||||
|
||||
class ResolveRemoteAccountWorker |
||||
class ResolveAccountWorker |
||||
include Sidekiq::Worker |
||||
|
||||
sidekiq_options queue: 'pull', unique: :until_executed |
||||
|
||||
def perform(uri) |
||||
ResolveRemoteAccountService.new.call(uri) |
||||
ResolveAccountService.new.call(uri) |
||||
end |
||||
end |
@ -1,6 +1,6 @@ |
||||
require 'rails_helper' |
||||
|
||||
RSpec.describe ResolveRemoteAccountService do |
||||
RSpec.describe ResolveAccountService do |
||||
subject { described_class.new } |
||||
|
||||
before do |
Loading…
Reference in new issue