diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2018-01-22 22:25:09 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-22 14:25:09 +0100 |
commit | 613e7c7521252bd85e473d9c63cbc8b8e1a733a8 (patch) | |
tree | 521ac854f97d34dc96b77bd625a38e9bef416574 /app/workers/import/relationship_worker.rb | |
parent | 17cecd75cadfd9914ffc233de01d41204ef7802c (diff) |
Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
The service used to be named ResolveRemoteAccountService resolves local accounts as well.
Diffstat (limited to 'app/workers/import/relationship_worker.rb')
-rw-r--r-- | app/workers/import/relationship_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/import/relationship_worker.rb b/app/workers/import/relationship_worker.rb index ed4c962c1..1dd8bf8fb 100644 --- a/app/workers/import/relationship_worker.rb +++ b/app/workers/import/relationship_worker.rb @@ -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? |