mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 08:04:31 +00:00
fix: disable domain status diff when domain creation
This commit is contained in:
parent
3c137e40ee
commit
df3906aa08
@ -190,7 +190,7 @@ readonly class RDAPService
|
||||
if (count($addedStatus) > 0 || count($deletedStatus) > 0) {
|
||||
$this->em->persist($domain);
|
||||
|
||||
if ($domain->getUpdatedAt() !== $domain->getCreatedAt()) {
|
||||
if ($domain->getUpdatedAt() == $domain->getCreatedAt()) {
|
||||
$this->em->persist((new DomainStatus())
|
||||
->setDomain($domain)
|
||||
->setDate($domain->getUpdatedAt())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user