mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +00:00
fix: process domain
This commit is contained in:
parent
9e4e35f9e8
commit
c145a23a63
@ -55,7 +55,6 @@ final readonly class ProcessWatchListTriggerHandler
|
|||||||
) as $domain
|
) as $domain
|
||||||
) {
|
) {
|
||||||
$updatedAt = $domain->getUpdatedAt();
|
$updatedAt = $domain->getUpdatedAt();
|
||||||
$this->bus->dispatch(new ProcessDomainTrigger($watchList->getToken(), $domain->getLdhName(), $updatedAt));
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->RDAPService->registerDomain($domain->getLdhName());
|
$this->RDAPService->registerDomain($domain->getLdhName());
|
||||||
@ -66,6 +65,8 @@ final readonly class ProcessWatchListTriggerHandler
|
|||||||
]);
|
]);
|
||||||
$this->sendEmailDomainUpdateError($domain, $watchList->getUser());
|
$this->sendEmailDomainUpdateError($domain, $watchList->getUser());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->bus->dispatch(new ProcessDomainTrigger($watchList->getToken(), $domain->getLdhName(), $updatedAt));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user