From fe5d93ad0cd3232b96bf83c274b2203483c5ca12 Mon Sep 17 00:00:00 2001 From: Sergi Alonso Date: Tue, 16 Apr 2024 19:27:27 +0200 Subject: [PATCH] change to cco email send to organization admins for new member applications (#738) --- app/mailers/organization_notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/organization_notifier.rb b/app/mailers/organization_notifier.rb index d3ed1fcd..761ebaf3 100644 --- a/app/mailers/organization_notifier.rb +++ b/app/mailers/organization_notifier.rb @@ -20,7 +20,7 @@ def new_petition(petition) I18n.with_locale(locale) do mail( subject: 'New Application', - to: organization.users.joins(:members).where(members: { manager: true }).pluck(:email).uniq + bcc: organization.users.joins(:members).where(members: { manager: true }).pluck(:email).uniq ) end end