From b7901ba62d98a49a99864da5e9ba927c2231a07d Mon Sep 17 00:00:00 2001 From: olegphenomenon Date: Thu, 13 Apr 2023 12:05:50 +0300 Subject: [PATCH] fixed period param --- app/controllers/repp/v1/domains_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/repp/v1/domains_controller.rb b/app/controllers/repp/v1/domains_controller.rb index c72c83882..ed86638e4 100644 --- a/app/controllers/repp/v1/domains_controller.rb +++ b/app/controllers/repp/v1/domains_controller.rb @@ -48,7 +48,7 @@ module Repp param :registrant, String, required: true, desc: 'Registrant contact code' param :reserved_pw, String, required: false, desc: 'Reserved password for domain' param :transfer_code, String, required: false, desc: 'Desired transfer code for domain' - param :period, Integer, required: true, desc: 'Registration period in months or years' + # param :period, Integer, required: true, desc: 'Registration period in months or years' param :period_unit, String, required: true, desc: 'Period type (month m) or (year y)' param :nameservers_attributes, Array, required: false, desc: 'Domain nameservers' do param :hostname, String, required: true, desc: 'Nameserver hostname'