about summary refs log tree commit diff
path: root/app/models/form
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-01-22 22:25:09 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-01-22 14:25:09 +0100
commit613e7c7521252bd85e473d9c63cbc8b8e1a733a8 (patch)
tree521ac854f97d34dc96b77bd625a38e9bef416574 /app/models/form
parent17cecd75cadfd9914ffc233de01d41204ef7802c (diff)
Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
The service used to be named ResolveRemoteAccountService resolves local
accounts as well.
Diffstat (limited to 'app/models/form')
-rw-r--r--app/models/form/migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/form/migration.rb b/app/models/form/migration.rb
index b74987337..c2a8655e1 100644
--- a/app/models/form/migration.rb
+++ b/app/models/form/migration.rb
@@ -20,6 +20,6 @@ class Form::Migration
   private
 
   def set_account
-    self.account = (ResolveRemoteAccountService.new.call(acct) if account.nil? && acct.present?)
+    self.account = (ResolveAccountService.new.call(acct) if account.nil? && acct.present?)
   end
 end