mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
update contact notification
This commit is contained in:
parent
374c434de4
commit
d4fd8dc0ee
2 changed files with 39 additions and 1 deletions
|
@ -7,7 +7,7 @@ module ContactNotification
|
|||
|
||||
def notify_tech_contact(domain:)
|
||||
text = "DNSKEYS for #{domain.name} are invalid!"
|
||||
domain.tech_domain_contacts.each do |tech|
|
||||
domain.tech_contacts.each do |tech|
|
||||
contact = Contact.find(tech.id)
|
||||
|
||||
ContactInformMailer.notify(contact: contact, subject: text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue