mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: set value for property onlyNew
This commit is contained in:
@@ -83,7 +83,7 @@ final readonly class ProcessWatchlistHandler
|
||||
|
||||
/** @var Domain $domain */
|
||||
foreach ($watchlist->getDomains()->filter(fn ($domain) => $this->RDAPService->isToBeUpdated($domain, false, null !== $watchlist->getConnector())) as $domain) {
|
||||
$this->bus->dispatch(new UpdateDomain($domain->getLdhName(), $watchlist->getToken()));
|
||||
$this->bus->dispatch(new UpdateDomain($domain->getLdhName(), $watchlist->getToken(), false));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ final readonly class UpdateDomainHandler
|
||||
if (null === $watchlist) {
|
||||
/** @var Watchlist $wl */
|
||||
foreach ($domain->getWatchlists()->getIterator() as $wl) {
|
||||
$this->bus->dispatch(new UpdateDomain($message->ldhName, $wl->getToken()), [
|
||||
$this->bus->dispatch(new UpdateDomain($message->ldhName, $wl->getToken(), false), [
|
||||
new TransportNamesStamp('rdap_low'),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user