fix: free domain status

This commit is contained in:
Maël Gangloff
2024-12-22 23:06:52 +01:00
parent 734ee930f1
commit 015b3c2797

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);