REPP: Contact create test

This commit is contained in:
Karl Erik Õunapuu 2020-10-20 11:26:32 +03:00
parent 39d09e5543
commit 9cfa1c2989
No known key found for this signature in database
GPG key ID: C9DD647298A34764
2 changed files with 128 additions and 1 deletions

View file

@ -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