mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Validate uniqueness manually all the time
This commit is contained in:
parent
0ab1e29a53
commit
3f8f5cc4cd
5 changed files with 17 additions and 14 deletions
|
@ -48,6 +48,8 @@ module Epp::Common
|
|||
# for debugging
|
||||
@errors << { code: '1', msg: 'handle_errors was executed when there were actually no errors' } if @errors.blank?
|
||||
|
||||
@errors.uniq!
|
||||
|
||||
render '/epp/error'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue