Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
The service used to be named ResolveRemoteAccountService resolves local accounts as well.
This commit is contained in:
committed by
Eugen Rochko
parent
17cecd75ca
commit
613e7c7521
@ -7,7 +7,7 @@ class Import::RelationshipWorker
|
||||
|
||||
def perform(account_id, target_account_uri, relationship)
|
||||
from_account = Account.find(account_id)
|
||||
target_account = ResolveRemoteAccountService.new.call(target_account_uri)
|
||||
target_account = ResolveAccountService.new.call(target_account_uri)
|
||||
|
||||
return if target_account.nil?
|
||||
|
||||
|
Reference in New Issue
Block a user