This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user