From b194bc10f3f177a32c342c3318c1951f2b6ab652 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Mon, 1 Jul 2024 17:20:18 -0500 Subject: [PATCH] Prefer deliver_now --- app/workers/aggregation_completed_mailer_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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