mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Refactor epp error due to Rails 6.1 changes
This commit is contained in:
parent
39bbe6e06d
commit
c613de1a11
5 changed files with 12 additions and 11 deletions
|
@ -151,7 +151,7 @@ module Repp
|
|||
@successful << { type: 'domain_transfer', domain_name: domain.name }
|
||||
else
|
||||
@errors << { type: 'domain_transfer', domain_name: domain.name,
|
||||
errors: domain.errors[:epp_errors] }
|
||||
errors: domain.errors.where(:epp_errors)[0].options }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue