mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 04:58:29 +02:00
Fix CC issues
This commit is contained in:
parent
55e66724cf
commit
6e1a836c97
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ module Api
|
||||||
render json: {
|
render json: {
|
||||||
domain_name: @domain.name,
|
domain_name: @domain.name,
|
||||||
current_registrant: serialized_registrant(@domain.registrant),
|
current_registrant: serialized_registrant(@domain.registrant),
|
||||||
new_registrant: serialized_registrant(@domain.pending_registrant)
|
new_registrant: serialized_registrant(@domain.pending_registrant),
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ module Api
|
||||||
render json: {
|
render json: {
|
||||||
domain_name: @domain.name,
|
domain_name: @domain.name,
|
||||||
current_registrant: serialized_registrant(current_registrant),
|
current_registrant: serialized_registrant(current_registrant),
|
||||||
status: params[:decision]
|
status: params[:decision],
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ module Api
|
||||||
{
|
{
|
||||||
name: registrant.try(:name),
|
name: registrant.try(:name),
|
||||||
ident: registrant.try(:ident),
|
ident: registrant.try(:ident),
|
||||||
country: registrant.try(:ident_country_code)
|
country: registrant.try(:ident_country_code),
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue