Change email sending from job to delayed send

This commit is contained in:
Alex Sherman 2020-11-23 16:57:28 +05:00
parent a3e6bc4cf9
commit cb3cf37331
4 changed files with 15 additions and 10 deletions

View file

@ -8,7 +8,7 @@ module DomainDeleteConfirmInteraction
log
DomainDeleteMailer.confirmation_request(domain: domain,
registrar: domain.registrar,
registrant: domain.registrant).deliver_now
registrant: domain.registrant).deliver_later
end
private