Skip to content

Commit

Permalink
fix : 사용하지 않는 user 파라미터 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
yel-m committed Jun 9, 2024
1 parent cf2175e commit a0dc6eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class TrendLocationRankingService {

private final RecordRepository recordRepository;

public List<LocationActivityRankingResponseDto> getTop3HappyLocationsWithActivities(User user) {
public List<LocationActivityRankingResponseDto> getTop3HappyLocationsWithActivities() {
LocalDateTime startOfDay = LocalDate.now().atStartOfDay();
LocalDateTime endOfDay = LocalDate.now().atTime(23, 59, 59);
List<Record> records = recordRepository.findAllByCreatedAtBetween(startOfDay, endOfDay);
Expand Down

0 comments on commit a0dc6eb

Please sign in to comment.