mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Merge pull request #2187 from internetee/2185-mail-validation-event-threshold-not-applied
2185 mail validation event threshold not applied
This commit is contained in:
commit
38ceccfadc
5 changed files with 44 additions and 9 deletions
|
@ -50,7 +50,7 @@ def prepare_contacts(options)
|
|||
if options[:domain_name].present?
|
||||
contacts_by_domain(options[:domain_name])
|
||||
else
|
||||
Contact.recently_not_validated
|
||||
Contact.all
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -58,7 +58,7 @@ def contacts_by_domain(domain_name)
|
|||
domain = ::Domain.find_by(name: domain_name)
|
||||
return unless domain
|
||||
|
||||
domain.contacts.recently_not_validated
|
||||
domain.contacts
|
||||
end
|
||||
|
||||
def opts_hash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue