Skip to content

Commit

Permalink
chore: persist domain after NS clear
Browse files Browse the repository at this point in the history
  • Loading branch information
maelgangloff committed Sep 8, 2024
1 parent 9b8481e commit 1241683
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/components/tracking/watchlist/DomainList.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from "react";

export function TrackedDomainList() {
return <>
</>
}
1 change: 1 addition & 0 deletions src/Service/RDAPService.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ public function registerDomain(string $fqdn): Domain

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([
Expand Down

0 comments on commit 1241683

Please sign in to comment.