mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-05 09:11:29 +02:00
More RST preparations
This commit is contained in:
parent
ebe8982b00
commit
3d3ffe46d5
3 changed files with 22 additions and 10 deletions
|
@ -973,6 +973,7 @@ function handleEntityQuery($request, $response, $pdo, $entityHandle, $c, $log) {
|
|||
'links' => [
|
||||
[
|
||||
'href' => $c['rdap_url'] . '/entity/' . ($registrarDetails['iana_id'] ?: $registrarDetails['id']),
|
||||
'value' => $c['rdap_url'] . '/entity/' . ($registrarDetails['iana_id'] ?: $registrarDetails['id']),
|
||||
'rel' => 'self',
|
||||
'type' => 'application/rdap+json',
|
||||
]
|
||||
|
@ -2892,6 +2893,7 @@ function handleEntitySearchQuery($request, $response, $pdo, $searchPattern, $c,
|
|||
'links' => [
|
||||
[
|
||||
'href' => $c['rdap_url'] . '/entity/' . ($registrarDetails['iana_id'] ?: $registrarDetails['id']),
|
||||
'value' => $c['rdap_url'] . '/entity/' . ($registrarDetails['iana_id'] ?: $registrarDetails['id']),
|
||||
'rel' => 'self',
|
||||
'type' => 'application/rdap+json',
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue