Skip to content

Commit

Permalink
fix: 잘못된 캐시 키 정정
Browse files Browse the repository at this point in the history
- reviewGroupId 로
  • Loading branch information
nayonsoso committed Dec 13, 2024
1 parent 5c0bb4a commit 68ee45c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class TemplateMapper {
private final OptionGroupRepository optionGroupRepository;
private final OptionItemRepository optionItemRepository;

@Cacheable(value = "template_response", key = "#reviewGroup.reviewRequestCode")
@Cacheable(value = "template_response", key = "#reviewGroup.id")
public TemplateResponse mapToTemplateResponse(ReviewGroup reviewGroup) {
Template template = templateRepository.findById(reviewGroup.getTemplateId())
.orElseThrow(() -> new TemplateNotFoundByReviewGroupException(
Expand Down

0 comments on commit 68ee45c

Please sign in to comment.