Skip to content

Commit

Permalink
fixed nameserver issue
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegPhenomenon committed Mar 15, 2024
1 parent a763d56 commit 25c43f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/registrant/domains_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def new
end

Tld::Estonian::MIN_NAMESERVER_COUNT.times do |i|
next if Setting.default_nameserver_records[i].blank?

current_nameserver = JSON.parse(Setting.default_nameserver_records[i])
@domain.nameservers.build(
hostname: current_nameserver['hostname'],
Expand Down

0 comments on commit 25c43f6

Please sign in to comment.