mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 05:26:17 +02:00
Updated contact name data type in schemas
This commit is contained in:
parent
9e63e3d0bd
commit
c7d3788a36
12 changed files with 109 additions and 45 deletions
|
@ -74,6 +74,7 @@ module Epp
|
|||
|
||||
def validate_against_schema
|
||||
return if %w[hello error].include?(params[:action])
|
||||
|
||||
schema.validate(params[:nokogiri_frame]).each do |error|
|
||||
epp_errors.add(:epp_errors,
|
||||
code: 2001,
|
||||
|
@ -100,6 +101,7 @@ module Epp
|
|||
|
||||
def current_user
|
||||
return unless signed_in?
|
||||
|
||||
epp_session.user
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue