mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 14:15:22 +00:00
Fix auto close registration mail (#30323)
This commit is contained in:
parent
142dd34b68
commit
37adb144db
|
@ -27,7 +27,7 @@ class Scheduler::AutoCloseRegistrationsScheduler
|
|||
Setting.registrations_mode = 'approved'
|
||||
|
||||
User.those_who_can(:manage_settings).includes(:account).find_each do |user|
|
||||
AdminMailer.auto_close_registrations(recipient: user.account).deliver_later
|
||||
AdminMailer.auto_close_registrations(user.account).deliver_later
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue