dev add geo country service
Test Workflow / test (push) Successful in 2s

This commit is contained in:
vladp
2026-04-15 09:46:29 +07:00
parent a7939845c7
commit dd73227db1
@@ -126,7 +126,7 @@ public class ViolationHandler implements RequestHandler {
for (Violation violation : content) {
ViolationResponse.ViolationDto violationDto = ViolationResponse.ViolationDto.fromEntity(violation);
violationDto.setCountry(geoCountryService.getCountry(violation.getHost()));
violationDto.setCountry(geoCountryService.getCountry(violation.getUrl()));
violationDtos.add(violationDto);
}