Skip to content

Commit

Permalink
refactor :: find all by -> find by view count
Browse files Browse the repository at this point in the history
  • Loading branch information
miraexhoi committed Nov 10, 2024
1 parent 5fdcaae commit b486b6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public List<WordSearchInfoDto> search(SearchWordConditionInfoDto dto) {
}

public List<PopularWordInfoDto> findPopularAll(Pageable pageable) {
List<Word> result = popularWordRepository.findAllBy(LocalDateTime.now(clock), pageable);
List<Word> result = popularWordRepository.findByViewCount(pageable);

return WordServiceMapper.from(result);
}
Expand Down

0 comments on commit b486b6d

Please sign in to comment.