about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authornightpool <nightpool@users.noreply.github.com>2022-11-06 21:31:38 -0500
committerGitHub <noreply@github.com>2022-11-07 03:31:38 +0100
commit54f0f1b9efa73166d5d1dfb475b71111e2a5f2ed (patch)
tree61712282ee7ce4541b61c61602d977cf45ab72e1 /app
parent8c81db5a415cce3491cb5d343709db552ad262b6 (diff)
Skip Webfinger cache during migrations as well (#19883)
Diffstat (limited to 'app')
-rw-r--r--app/models/account_migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account_migration.rb b/app/models/account_migration.rb
index 06291c9f3..16276158d 100644
--- a/app/models/account_migration.rb
+++ b/app/models/account_migration.rb
@@ -58,7 +58,7 @@ class AccountMigration < ApplicationRecord
   private
 
   def set_target_account
-    self.target_account = ResolveAccountService.new.call(acct)
+    self.target_account = ResolveAccountService.new.call(acct, skip_cache: true)
   rescue Webfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError, Mastodon::Error
     # Validation will take care of it
   end