We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f917b1 + 5ffa318 commit 0cf65e1Copy full SHA for 0cf65e1
1 file changed
app/controllers/admin_controller.rb
@@ -65,7 +65,7 @@ def send_all_email
65
66
Thread.new do
67
emails = User.where.not(confirmed_at: nil).where('email NOT LIKE ?', '%localhost').select(:email).map(&:email)
68
- emails.each_slice(50) do |slice|
+ emails.each_slice(49) do |slice|
69
AdminMailer.with(body_markdown: params[:body_markdown],
70
subject: params[:subject],
71
emails: slice, community: community)
0 commit comments