fix(refactor): continue to revert to past implementation. now use a job instead of calling deliver_later(wait: 5.minutes) [was not a satisfying implementation]
This commit is contained in:
parent
5534c3fbd6
commit
ddabed0c7e
1 changed files with 2 additions and 2 deletions
|
@ -112,8 +112,8 @@ class Commentaire < ApplicationRecord
|
|||
NotifyNewAnswerWithDelayJob.set(wait: 5.minutes).perform_later(dossier, body, self)
|
||||
end
|
||||
|
||||
def notify_user_with
|
||||
DossierMailer.notify_with_delay_new_commentaire_to_user(dossier, body, self).deliver_later
|
||||
def notify_user
|
||||
DossierMailer.notify_new_answer(dossier, body).deliver_later
|
||||
end
|
||||
|
||||
def messagerie_available?
|
||||
|
|
Loading…
Reference in a new issue