diff --git a/src/FilterLists.Agent/Features/Urls/ValidateAllUrls.cs b/src/FilterLists.Agent/Features/Urls/ValidateAllUrls.cs index 4d937534e..097499e77 100644 --- a/src/FilterLists.Agent/Features/Urls/ValidateAllUrls.cs +++ b/src/FilterLists.Agent/Features/Urls/ValidateAllUrls.cs @@ -57,7 +57,8 @@ protected override async Task Handle(Command request, CancellationToken cancella if(results.Any()) await _mediator.Send(new CreateOrUpdateUrlValidationIssue.Command(results), cancellationToken); - await _mediator.Send(new CloseUrlValidationIssue.Command(), cancellationToken); + else + await _mediator.Send(new CloseUrlValidationIssue.Command(), cancellationToken); } } }