Skip to content

Commit

Permalink
Fix reference to non-existent var in CLI maintenance command (mastodo…
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski authored and noellabo committed Jun 26, 2024
1 parent 4c98b0b commit eadd854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mastodon/maintenance_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def deduplicate_users!
users = User.where(id: row['ids'].split(',')).sort_by(&:updated_at).reverse
ref_user = users.shift
@prompt.warn "Multiple users registered with e-mail address #{ref_user.email}."
@prompt.warn "e-mail will be disabled for the following accounts: #{user.map(&:account).map(&:acct).join(', ')}"
@prompt.warn "e-mail will be disabled for the following accounts: #{users.map(&:account).map(&:acct).join(', ')}"
@prompt.warn 'Please reach out to them and set another address with `tootctl account modify` or delete them.'

i = 0
Expand Down

0 comments on commit eadd854

Please sign in to comment.