mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
fixed codeclimate errors
This commit is contained in:
parent
f4e0084895
commit
e7e3278267
44 changed files with 118 additions and 150 deletions
|
@ -15,9 +15,7 @@ module Api
|
|||
current_registrant: serialized_registrant(@domain.registrant),
|
||||
}
|
||||
|
||||
unless delete_action?
|
||||
res[:new_registrant] = serialized_registrant(@domain.pending_registrant)
|
||||
end
|
||||
res[:new_registrant] = serialized_registrant(@domain.pending_registrant) unless delete_action?
|
||||
|
||||
render json: res, status: :ok
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue