diff options
author | nightpool <nightpool@users.noreply.github.com> | 2022-11-06 21:31:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 03:31:38 +0100 |
commit | 54f0f1b9efa73166d5d1dfb475b71111e2a5f2ed (patch) | |
tree | 61712282ee7ce4541b61c61602d977cf45ab72e1 /app | |
parent | 8c81db5a415cce3491cb5d343709db552ad262b6 (diff) |
Skip Webfinger cache during migrations as well (#19883)
Diffstat (limited to 'app')
-rw-r--r-- | app/models/account_migration.rb | 2 |
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 |