From 124168380ac12850fd1180a3b0a73b407d81ce1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Sun, 8 Sep 2024 21:48:37 +0200 Subject: [PATCH] chore: persist domain after NS clear --- assets/components/tracking/watchlist/DomainList.tsx | 6 ++++++ src/Service/RDAPService.php | 1 + 2 files changed, 7 insertions(+) create mode 100644 assets/components/tracking/watchlist/DomainList.tsx diff --git a/assets/components/tracking/watchlist/DomainList.tsx b/assets/components/tracking/watchlist/DomainList.tsx new file mode 100644 index 0000000..d7b3b88 --- /dev/null +++ b/assets/components/tracking/watchlist/DomainList.tsx @@ -0,0 +1,6 @@ +import React from "react"; + +export function TrackedDomainList() { + return <> + +} \ No newline at end of file diff --git a/src/Service/RDAPService.php b/src/Service/RDAPService.php index 615abbf..9fa4673 100644 --- a/src/Service/RDAPService.php +++ b/src/Service/RDAPService.php @@ -310,6 +310,7 @@ readonly class RDAPService if (array_key_exists('nameservers', $res) && is_array($res['nameservers'])) { $domain->getNameservers()->clear(); + $this->em->persist($domain); foreach ($res['nameservers'] as $rdapNameserver) { $nameserver = $this->nameserverRepository->findOneBy([