diff --git a/api/src/main/java/org/meotppo/webti/dto/result/StatisticDTO.java b/api/src/main/java/org/meotppo/webti/dto/result/StatisticDTO.java index 6abbdd1..146d059 100644 --- a/api/src/main/java/org/meotppo/webti/dto/result/StatisticDTO.java +++ b/api/src/main/java/org/meotppo/webti/dto/result/StatisticDTO.java @@ -12,7 +12,6 @@ @NoArgsConstructor @AllArgsConstructor public class StatisticDTO { - private Long id; private String result; private Long count; private Long matchCount; diff --git a/api/src/main/java/org/meotppo/webti/service/result/ResultService.java b/api/src/main/java/org/meotppo/webti/service/result/ResultService.java index ccfa832..31ea6b9 100644 --- a/api/src/main/java/org/meotppo/webti/service/result/ResultService.java +++ b/api/src/main/java/org/meotppo/webti/service/result/ResultService.java @@ -32,7 +32,6 @@ public void createTestResult(TestResultRequest req) { public List readStatistics() { return statisticRepository.findAll().stream() .map(statistic -> new StatisticDTO( - statistic.getId(), statistic.getDeveloperProfile().getResult(), statistic.getCount(), statistic.getMatchCount(),