Skip to content

Commit

Permalink
🚑️ fix: date를 string type으로 변경 (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
synoti21 committed Nov 10, 2023
1 parent 37b3df6 commit ba8e639
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Long saveFood(CreateFoodDto createFoodDto) {
}

// 회원이 특정 날짜에 먹은 음식 조회
@Cacheable(value = "ResponseFoodDto", key = "#userId+#date", cacheManager = "diareatCacheManager")
@Cacheable(value = "ResponseFoodDto", key = "#userId+#date.toString()", cacheManager = "diareatCacheManager")
@Transactional(readOnly = true)
public List<ResponseFoodDto> getFoodListByDate(Long userId, LocalDate date){
validateUser(userId);
Expand Down

0 comments on commit ba8e639

Please sign in to comment.