chore(correction): passing en_instruction resolve pending corrections
This commit is contained in:
parent
5ab44fc7a9
commit
62cc9d30d8
4 changed files with 35 additions and 0 deletions
|
@ -891,6 +891,8 @@ class Dossier < ApplicationRecord
|
|||
.processed_at
|
||||
save!
|
||||
|
||||
resolve_pending_correction!
|
||||
|
||||
if !disable_notification
|
||||
NotificationMailer.send_en_instruction_notification(self).deliver_later
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue