mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: remove lastChanged event
This commit is contained in:
@@ -224,6 +224,7 @@ readonly class RDAPService
|
||||
if (!array_key_exists('events', $rdapEntity)) return $entity;
|
||||
|
||||
foreach ($rdapEntity['events'] as $rdapEntityEvent) {
|
||||
if ($rdapEntityEvent["eventAction"] === EventAction::LastChanged->value) continue;
|
||||
$event = $this->entityEventRepository->findOneBy([
|
||||
"action" => EventAction::from($rdapEntityEvent["eventAction"]),
|
||||
"date" => new DateTimeImmutable($rdapEntityEvent["eventDate"])
|
||||
|
||||
Reference in New Issue
Block a user