mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Fix BL after master emrge
This commit is contained in:
parent
43e5b74668
commit
c5e2ebe15e
5 changed files with 24 additions and 30 deletions
|
@ -214,8 +214,11 @@ module Repp
|
|||
end
|
||||
|
||||
def domain_create_params
|
||||
params.require(:domain).require(%i[name registrant_id period period_unit])
|
||||
params.require(:domain).permit(%i[name registrant_id period period_unit registrar_id])
|
||||
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: [])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue