Skip to content

Commit

Permalink
Merge pull request #212 from CoolPeace-yanolza/develop
Browse files Browse the repository at this point in the history
1월 26일 18시 배포
  • Loading branch information
KwonJuHwan authored Jan 26, 2024
2 parents cd5448d + 902eab4 commit c860a2d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public class CouponQueryService {

private final CouponRepository couponRepository;

@Cacheable(value = "dailyReport", key = "#accommodationId",cacheManager = "contentCacheManager")
public CouponDailyResponse dailyReport(String jwtPrincipal, Long accommodationId) {
Long memberId = Long.valueOf(jwtPrincipal);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public List<CouponResponse> getRecentHistory(Long memberId) {
}

@Transactional
@CacheEvict(value = "dailyReport", key = "#couponRegisterRequest.accommodationId()", cacheManager = "contentCacheManager")
public void register(Long memberId, CouponRegisterRequest couponRegisterRequest) {
Member storedMember = memberRepository.findById(memberId)
.orElseThrow(MemberNotFoundException::new);
Expand Down

0 comments on commit c860a2d

Please sign in to comment.