mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-03 01:23:22 +02:00
Added handle formatting for objects
And fixed RDAP URLs
This commit is contained in:
parent
964cd8f370
commit
4d3ee365a1
6 changed files with 51 additions and 47 deletions
|
@ -64,7 +64,7 @@ function processContactInfo($conn, $db, $xml, $trans) {
|
|||
'resultCode' => 1000,
|
||||
'msg' => 'Command completed successfully',
|
||||
'id' => $contact['id'],
|
||||
'roid' => 'C_'.$contact['identifier'],
|
||||
'roid' => 'C' . $contact['identifier'],
|
||||
'status' => $statusArray,
|
||||
'postal' => $postalArray,
|
||||
'voice' => $contact['voice'],
|
||||
|
@ -148,7 +148,7 @@ function processHostInfo($conn, $db, $xml, $trans) {
|
|||
'resultCode' => 1000,
|
||||
'msg' => 'Command completed successfully',
|
||||
'name' => $host['name'],
|
||||
'roid' => 'H_'.$host['id'],
|
||||
'roid' => 'H' . $host['id'],
|
||||
'status' => $statusArray,
|
||||
'addr' => $addrArray,
|
||||
'clID' => getRegistrarClid($db, $host['clid']),
|
||||
|
@ -283,7 +283,7 @@ function processDomainInfo($conn, $db, $xml, $trans) {
|
|||
'resultCode' => 1000,
|
||||
'msg' => 'Command completed successfully',
|
||||
'name' => $domain['name'],
|
||||
'roid' => 'D_'.$domain['id'],
|
||||
'roid' => 'D' . $domain['id'],
|
||||
'status' => $statusArray,
|
||||
'registrant' => $domain['registrant'],
|
||||
'contact' => $transformedContacts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue