fix(jobs): fix default bulk_email_queue name

This commit is contained in:
simon lehericey 2024-05-30 10:24:52 +02:00
parent f2b3ffed5a
commit bcf3c0ff34
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -11,6 +11,6 @@ class PriorizedMailDeliveryJob < ActionMailer::MailDeliveryJob
end end
def custom_queue 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
end end