Merge pull request #10471 from demarches-simplifiees/fix_strange_bulk_email_queue_name

Tech: corrige le nom par defaut de la bulk_email_queue
This commit is contained in:
LeSim 2024-05-30 15:05:19 +00:00 committed by GitHub
commit 73e6a25d22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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