Browse Source

Fix mailer jobs for deleted notifications erroring out (#16294)

Fixes an oversight in the Rails 6 migration
closed-social-v3
Claire 3 years ago
committed by GitHub
parent
commit
b715cede4d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/initializers/mail_delivery_job.rb

config/initializers/delivery_job.rb → config/initializers/mail_delivery_job.rb View File

@ -1,3 +1,3 @@
ActionMailer::DeliveryJob.class_eval do
ActionMailer::MailDeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end

Loading…
Cancel
Save