dev fix sort
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-04-24 13:11:49 +07:00
parent cdaa6c7ce2
commit 0047cfd4f6
3 changed files with 22 additions and 7 deletions
@@ -129,8 +129,7 @@ public class ViolationHandler implements RequestHandler {
}
for (Violation violation : content) {
if (violation.getStatus().equals(ViolationStatus.NOT_OWNER_FILE.name()) ||
firstShowViolation != null && Objects.equals(firstShowViolation.getId(), violation.getId())) continue;
if (firstShowViolation != null && Objects.equals(firstShowViolation.getId(), violation.getId())) continue;
ViolationResponse.ViolationDto violationDto = ViolationResponse.ViolationDto.fromEntity(violation);
violationDto.setCountry(geoCountryService.getCountryName(violation.getPageUrl()));