Fix auto close registration mail (#30323)

pull/30241/head
Claire 2024-05-16 11:52:02 +02:00 committed by GitHub
parent 142dd34b68
commit 37adb144db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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