mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Rename admin_domain_contacts_attributes to admin_contacts
This commit is contained in:
parent
e2f377f1c2
commit
83bfc493bb
4 changed files with 11 additions and 12 deletions
|
@ -35,9 +35,9 @@ module Repp
|
|||
param :ipv4, Array, desc: 'Array of IPv4 addresses'
|
||||
param :ipv6, Array, desc: 'Array of IPv4 addresses'
|
||||
end
|
||||
param :admin_domain_contacts_attributes, Array, required: false,
|
||||
param :admin_contacts, Array, required: false,
|
||||
desc: 'Admin domain contacts codes'
|
||||
param :tech_domain_contacts_attributes, Array, required: false,
|
||||
param :tech_contacts, Array, required: false,
|
||||
desc: 'Tech domain contacts codes'
|
||||
param :dnskeys_attributes, Array, required: false, desc: 'DNSSEC keys for domain' do
|
||||
param_group :dns_keys_apidoc, Repp::V1::Domains::DnssecController
|
||||
|
@ -219,8 +219,8 @@ module Repp
|
|||
params.require(:domain).permit(:name, :registrant_id, :period, :period_unit, :registrar_id,
|
||||
dnskeys_attributes: [%i[flags alg protocol public_key]],
|
||||
nameservers_attributes: [[:hostname, ipv4: [], ipv6: []]],
|
||||
admin_domain_contacts_attributes: [],
|
||||
tech_domain_contacts_attributes: [])
|
||||
admin_contacts: [],
|
||||
tech_contacts: [])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue