fix: free domain status

This commit is contained in:
Maël Gangloff 2024-12-22 23:06:52 +01:00
parent 734ee930f1
commit 015b3c2797
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -134,6 +134,11 @@ readonly class RDAPService
}
$this->updateDomainStatus($domain, $rdapData);
if (in_array('free', $domain->getStatus())) {
throw new NotFoundHttpException('The domain name is not present in the WHOIS database.');
}
$this->updateDomainHandle($domain, $rdapData);
$this->updateDomainEvents($domain, $rdapData);