mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Routes fix
This commit is contained in:
parent
db77334711
commit
ea51bb50b2
3 changed files with 6 additions and 7 deletions
|
@ -120,12 +120,11 @@ module Epp::Common
|
|||
end
|
||||
|
||||
def write_to_epp_log
|
||||
request_object = OBJECT_TYPES[params_hash['epp']['xmlns:ns2']] if params[:frame]
|
||||
ApiLog::EppLog.create({
|
||||
request: params[:raw_frame],
|
||||
request_command: params[:action],
|
||||
request_successful: epp_errors.empty?,
|
||||
request_object: request_object,
|
||||
request_object: params[:epp_object_type], # TODO: fix this for login and logout
|
||||
response: @response,
|
||||
api_user_name: @epp_user.try(:to_s) || current_epp_user.try(:to_s),
|
||||
api_user_registrar: @epp_user.try(:registrar).try(:to_s) || current_epp_user.try(:registrar).try(:to_s),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue