mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Integer error fix
This commit is contained in:
parent
2b22ba18f0
commit
d0a2adc1a4
3 changed files with 3 additions and 2 deletions
|
@ -84,7 +84,6 @@ class EppController < ApplicationController
|
|||
end
|
||||
# rubocop: enable Style/PredicateName
|
||||
|
||||
|
||||
def write_to_epp_log
|
||||
request_command = params[:command] || params[:action] # error receives :command, other methods receive :action
|
||||
ApiLog::EppLog.create({
|
||||
|
|
|
@ -19,7 +19,8 @@ class Epp::EppDomain < Domain
|
|||
[:base, :ds_data_with_key_not_allowed],
|
||||
[:base, :ds_data_not_allowed],
|
||||
[:base, :key_data_not_allowed],
|
||||
[:period, :not_a_number]
|
||||
[:period, :not_a_number],
|
||||
[:period, :not_an_integer]
|
||||
],
|
||||
'2004' => [ # Parameter value range error
|
||||
[:nameservers, :out_of_range,
|
||||
|
|
|
@ -104,6 +104,7 @@ en:
|
|||
period:
|
||||
out_of_range: 'Period must add up to 1, 2 or 3 years'
|
||||
not_a_number: 'Period is not a number'
|
||||
not_an_integer: 'Period must be an integer'
|
||||
auth_info:
|
||||
wrong_pw: 'Authorization error'
|
||||
domain_statuses:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue