mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-22 12:15:32 +00:00
fix: update domain updated_at
This commit is contained in:
parent
75c870490f
commit
cbeba957d3
@ -140,6 +140,8 @@ readonly class RDAPService
|
|||||||
$this->updateDomainEntities($domain, $rdapData);
|
$this->updateDomainEntities($domain, $rdapData);
|
||||||
$this->updateDomainNameservers($domain, $rdapData);
|
$this->updateDomainNameservers($domain, $rdapData);
|
||||||
|
|
||||||
|
$domain->updateTimestamps();
|
||||||
|
|
||||||
$this->em->persist($domain);
|
$this->em->persist($domain);
|
||||||
$this->em->flush();
|
$this->em->flush();
|
||||||
|
|
||||||
@ -238,7 +240,7 @@ readonly class RDAPService
|
|||||||
'idnDomain' => $idnDomain,
|
'idnDomain' => $idnDomain,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $domain->setTld($tld)->setLdhName($idnDomain)->setDeleted(false)->updateTimestamps();
|
return $domain->setTld($tld)->setLdhName($idnDomain)->setDeleted(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function updateDomainStatus(Domain $domain, array $rdapData): void
|
private function updateDomainStatus(Domain $domain, array $rdapData): void
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user