Skip to content

Commit

Permalink
fix: 캐싱 제거 (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayonsoso authored Jan 14, 2025
1 parent efc7f64 commit b9950e9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Component;
import reviewme.template.domain.OptionGroup;
import reviewme.template.domain.OptionItem;
Expand Down Expand Up @@ -39,7 +38,6 @@ public class TemplateMapper {
private final OptionGroupRepository optionGroupRepository;
private final OptionItemRepository optionItemRepository;

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

0 comments on commit b9950e9

Please sign in to comment.