Commit 3c4496f9ac495665806efe3236c57f177ab45768
1 parent
4d0ce33a
Exists in
master
and in
1 other branch
modify cron emailer to pass receipients as array
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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},#{ERRORS_EMAIL}", "Error! Failure of API Vote Consistency " , email_text) | |
339 | + CronMailer.deliver_info_message(CRON_EMAIL.to_a + ERRORS_EMAIL.to_a, "Error! Failure of API Vote Consistency " , email_text) | |
340 | 340 | end |
341 | 341 | |
342 | 342 | end | ... | ... |