Bugfix in RDAP

This commit is contained in:
Pinga 2023-11-28 18:36:45 +02:00
parent db6a01d3b3
commit 6ef844a04a

View file

@ -130,6 +130,10 @@ $http->on('request', function ($request, $response) use ($c, $pdo) {
$response->status(404);
$response->end(json_encode(['error' => 'Object not found']));
}
} else {
$response->header('Content-Type', 'application/json');
$response->status(404);
$response->end(json_encode(['error' => 'Object not found']));
}
}
// Handle entity search query