chore: persist domain after NS clear

This commit is contained in:
Maël Gangloff
2024-09-08 21:48:37 +02:00
parent 9b8481e3f3
commit 124168380a
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import React from "react";
export function TrackedDomainList() {
return <>
</>
}

View File

@@ -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([