Skip to content

Commit

Permalink
chore: Clear the commenting at redis cache annotation in MemberPostCo…
Browse files Browse the repository at this point in the history
…ntroller
  • Loading branch information
Kwon770 committed Jan 31, 2024
1 parent e889f53 commit 7184073
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public PaginationResponse<PostResponse> fetchDailyFeeds(Integer page, Integer si

@Transactional
@Override
// @CacheEvict(value = "calendarCache",
// key = "#familyId.concat(':').concat(T(java.time.format.DateTimeFormatter).ofPattern('yyyy-MM').format(#request.uploadTime()))")
@CacheEvict(value = "calendarCache",
key = "#familyId.concat(':').concat(T(java.time.format.DateTimeFormatter).ofPattern('yyyy-MM').format(#request.uploadTime()))")
public PostResponse createPost(CreatePostRequest request, String familyId) {
String memberId = authenticationHolder.getUserId();
String postId = identityGenerator.generateIdentity();
Expand Down

0 comments on commit 7184073

Please sign in to comment.