about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-03-03 20:45:12 +0100
committerGitHub <noreply@github.com>2023-03-03 20:45:12 +0100
commit8784498ebfc5508034f447d92645551d9d2c5907 (patch)
treef08dfb01090cb826e1542aafd0bdc9177db4c555 /lib
parentd6679d175181e425f52e5a6b062bc2c5545ce0cc (diff)
Fix tootctl accounts migrate error due to typo (#23567)
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/accounts_cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb
index db379eb85..98855cbd0 100644
--- a/lib/mastodon/accounts_cli.rb
+++ b/lib/mastodon/accounts_cli.rb
@@ -627,7 +627,7 @@ module Mastodon
           exit(1)
         end
 
-        unless options[:force] || migration.target_acount_id == account.moved_to_account_id
+        unless options[:force] || migration.target_account_id == account.moved_to_account_id
           say('The specified account is not redirecting to its last migration target. Use --force if you want to replay the migration anyway', :red)
           exit(1)
         end