fixed bulk change nameserver form

This commit is contained in:
dinsmol 2021-09-22 18:15:54 +03:00
parent e1e8979736
commit 9b67dff2e4
3 changed files with 4 additions and 3 deletions

View file

@ -67,7 +67,7 @@ module Repp
end
def verify_nameserver_existance
return true if hostname.nil?
return true if hostname.blank?
current_user.registrar.nameservers.find_by!(hostname: hostname)
end