Skip to content

Commit

Permalink
Use env for email report to
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Nov 16, 2023
1 parent 3853584 commit 54f6e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/download_report.rake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ task :mail do

mail = Mail.new do
from '[email protected]'
to '[email protected]'
to ENV.fetch('EMAIL_REPORT_TO', '[email protected]')
subject "Card Payment Report #{Date.today.strftime('%m-%Y')}"
body File.read(file)
add_file file
Expand Down

0 comments on commit 54f6e2a

Please sign in to comment.