From bcf3c0ff3414583362391ef952bc37f30df01c7d Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Thu, 30 May 2024 10:24:52 +0200 Subject: [PATCH] fix(jobs): fix default bulk_email_queue name --- app/jobs/priorized_mail_delivery_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/priorized_mail_delivery_job.rb b/app/jobs/priorized_mail_delivery_job.rb index 8ebe5549c..4b598bf43 100644 --- a/app/jobs/priorized_mail_delivery_job.rb +++ b/app/jobs/priorized_mail_delivery_job.rb @@ -11,6 +11,6 @@ class PriorizedMailDeliveryJob < ActionMailer::MailDeliveryJob end def custom_queue - ENV.fetch('BULK_EMAIL_QUEUE') { Rails.application.config.action_mailer.deliver_later_queue_name } + ENV.fetch('BULK_EMAIL_QUEUE') { Rails.application.config.action_mailer.deliver_later_queue_name.to_s } end end