Skip to content

Commit

Permalink
new email var for radios created today email
Browse files Browse the repository at this point in the history
  • Loading branch information
pencerw authored Feb 26, 2018
1 parent 262d84a commit 638417b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/radios/send_radios_created_today_email.rake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace :radios do

body = body_arr.join("\n\t")

emails = ENV['EMAILS_TO_NOTIFY_OF_IMPORT'].split(',')
emails = ENV['EMAILS_TO_NOTIFY_OF_ORDERS'].split(',')
emails.each do |email|
Rails.logger.info("Notifying #{email} of radios ordered today")

Expand All @@ -37,4 +37,4 @@ namespace :radios do
TaskHelper.send_email(email_params)
end
end
end
end

0 comments on commit 638417b

Please sign in to comment.