mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
only close issue if no validation errors found
This commit is contained in:
parent
db25be46ec
commit
34ef11f194
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue