Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix tootctl accounts migrate error due to typo (mastodon#23567)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Mar 3, 2023
1 parent d6679d1 commit 8784498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mastodon/accounts_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def migrate(username)
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
Expand Down

0 comments on commit 8784498

Please sign in to comment.