mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Make domain available when reserved
This commit is contained in:
parent
3772f47613
commit
cad457fb72
3 changed files with 24 additions and 30 deletions
|
@ -802,11 +802,6 @@ class Epp::Domain < Domain
|
|||
next
|
||||
end
|
||||
|
||||
if ReservedDomain.pw_for(domain_name_as_string).present?
|
||||
result << { name: domain_name_as_string, avail: 0, reason: I18n.t('errors.messages.epp_domain_reserved') }
|
||||
next
|
||||
end
|
||||
|
||||
domain_name = DNS::DomainName.new(domain_name_as_string)
|
||||
|
||||
if domain_name.unavailable?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue