mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
EPP: Show error when trying to remove unassigned domain status
This commit is contained in:
parent
09a58fa432
commit
dc5bbb587f
1 changed files with 2 additions and 2 deletions
|
@ -417,7 +417,7 @@ class Epp::Domain < Domain
|
|||
if statuses.include?(x)
|
||||
to_destroy << x
|
||||
else
|
||||
add_epp_error('2303', 'status', x, [:domain_statuses, :not_found])
|
||||
add_epp_error('2303', 'status', x, [:statuses, :not_found])
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -432,7 +432,7 @@ class Epp::Domain < Domain
|
|||
|
||||
frame.css('status').each do |x|
|
||||
unless DomainStatus::CLIENT_STATUSES.include?(x['s'])
|
||||
add_epp_error('2303', 'status', x['s'], [:domain_statuses, :not_found])
|
||||
add_epp_error('2303', 'status', x['s'], [:statuses, :not_found])
|
||||
next
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue