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