Replace nameservers: turn all domain names downcase

This commit is contained in:
Karl Erik Õunapuu 2020-12-21 14:55:33 +02:00
parent 9802598149
commit 12cdc868de
No known key found for this signature in database
GPG key ID: C9DD647298A34764

View file

@ -29,7 +29,7 @@ module Repp
ipv6: params[:data][:attributes][:ipv6],
}
domains = params[:data][:domains] || []
domains = params[:data][:domains].map(&:downcase) || []
begin
affected_domains = current_user.registrar.replace_nameservers(hostname, new_attributes,