mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: free domain status
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user