diff --git a/app/workers/aggregation_completed_mailer_worker.rb b/app/workers/aggregation_completed_mailer_worker.rb index 0aa1ab171..2019df20d 100644 --- a/app/workers/aggregation_completed_mailer_worker.rb +++ b/app/workers/aggregation_completed_mailer_worker.rb @@ -7,6 +7,6 @@ class AggregationCompletedMailerWorker def perform(agg_id) aggregation = Aggregation.find(agg_id) - AggregationCompletedMailer.aggregation_complete(aggregation).deliver + AggregationCompletedMailer.aggregation_complete(aggregation).deliver_now end end