mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 02:05:36 +00:00
fix: free domain status
This commit is contained in:
parent
734ee930f1
commit
015b3c2797
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user