mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: persist domain after NS clear
This commit is contained in:
6
assets/components/tracking/watchlist/DomainList.tsx
Normal file
6
assets/components/tracking/watchlist/DomainList.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
export function TrackedDomainList() {
|
||||
return <>
|
||||
</>
|
||||
}
|
||||
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user