mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 20:27:30 +02:00
REPP: Contact create test
This commit is contained in:
parent
39d09e5543
commit
9cfa1c2989
2 changed files with 128 additions and 1 deletions
|
@ -64,7 +64,7 @@ module Repp
|
|||
@epp_errors << { code: 2304, msg: 'Command failed' } if data != {}
|
||||
|
||||
render(
|
||||
json: { code: @epp_errors[0][:code], message: @epp_errors[0][:msg], data: data },
|
||||
json: { code: @epp_errors[0][:code].to_i, message: @epp_errors[0][:msg], data: data },
|
||||
status: status
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue