mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Merge branch 'story/112965483-skip-blocked-domains' into staging
This commit is contained in:
commit
1fdc8ed023
2 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,8 @@ class BlockedDomain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def generate_data
|
||||
next if Domain.where(name: name).any?
|
||||
|
||||
@json = generate_json
|
||||
@body = generate_body
|
||||
update_whois_server
|
||||
|
|
|
@ -30,6 +30,8 @@ class ReservedDomain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def generate_data
|
||||
next if Domain.where(name: name).any?
|
||||
|
||||
@json = generate_json
|
||||
@body = generate_body
|
||||
update_whois_server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue