mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 03:30:33 +02:00
Add i18n, change error response code to 2304
This commit is contained in:
parent
340e1820f2
commit
b9d57be6ab
4 changed files with 7 additions and 5 deletions
|
@ -82,9 +82,11 @@ class Epp::Contact < Contact
|
|||
'2302' => [ # Object exists
|
||||
[:code, :epp_id_taken]
|
||||
],
|
||||
'2304' => [ # Status prohibits operation
|
||||
[:statuses, :delete_prohibited],
|
||||
],
|
||||
'2305' => [ # Association exists
|
||||
[:domains, :exist],
|
||||
[:domains, :delete_prohibited],
|
||||
]
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue