Commit 08b6c8817c15da18f7f97c4ae94c84996d294b42
1 parent
3c4496f9
Exists in
master
and in
1 other branch
send emails only to cron@allourideas.org
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
config/initializers/mail.rb
| ... | ... | @@ -13,5 +13,4 @@ ActionMailer::Base.smtp_settings = { |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | DO_NOT_REPLY = "donotreply@example.com" |
| 16 | -CRON_EMAIL = ["cron@allourideas.org", 'aoi_cron@dkapadia.com', 'matt@allourideasorg'] | |
| 17 | -ERRORS_EMAIL = "errors@allourideas.org" | |
| 16 | +CRON_EMAIL = ["cron@allourideas.org"] | ... | ... |
lib/tasks/test_api.rake
| ... | ... | @@ -336,7 +336,7 @@ namespace :test_api do |
| 336 | 336 | if errors.empty? |
| 337 | 337 | CronMailer.deliver_info_message(CRON_EMAIL, "Test of API Vote Consistency passed", email_text) |
| 338 | 338 | else |
| 339 | - CronMailer.deliver_info_message(CRON_EMAIL.to_a + ERRORS_EMAIL.to_a, "Error! Failure of API Vote Consistency " , email_text) | |
| 339 | + CronMailer.deliver_info_message(CRON_EMAIL, "Error! Failure of API Vote Consistency " , email_text) | |
| 340 | 340 | end |
| 341 | 341 | |
| 342 | 342 | end | ... | ... |