Fix mailer jobs for deleted notifications erroring out (#16294)
Fixes an oversight in the Rails 6 migration
This commit is contained in:
parent
fcdae10072
commit
b715cede4d
|
@ -1,3 +1,3 @@
|
|||
ActionMailer::DeliveryJob.class_eval do
|
||||
ActionMailer::MailDeliveryJob.class_eval do
|
||||
discard_on ActiveJob::DeserializationError
|
||||
end
|
Loading…
Reference in New Issue