Skip to content

Commit

Permalink
fix: 주석 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
korno1 committed Sep 30, 2024
1 parent 6f81699 commit 851a728
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public String getRankerLog(Long rankId) {
@Cacheable(value = "rankCache", key = "#courseId", unless = "#result == null")
public List<RankingResponseDto> getRankingByCourse(Long courseId) {
List<Ranking> rankings = rankingRepository.findByCourse_CourseIdOrderByScore(courseId);
// if(rankings.isEmpty()) return null;

return rankingMapper.toRankingResponseDto(rankings);
}
Expand Down

0 comments on commit 851a728

Please sign in to comment.