mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: user can enable/disable a watchlist
This commit is contained in:
@@ -31,7 +31,7 @@ final readonly class ProcessWatchlistTriggerHandler
|
||||
*/
|
||||
|
||||
$randomizer = new Randomizer();
|
||||
$watchlists = $randomizer->shuffleArray($this->watchlistRepository->findAll());
|
||||
$watchlists = $randomizer->shuffleArray($this->watchlistRepository->getEnabledWatchlist());
|
||||
|
||||
/** @var Watchlist $watchlist */
|
||||
foreach ($watchlists as $watchlist) {
|
||||
|
||||
Reference in New Issue
Block a user