Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Yeji committed Nov 4, 2024
2 parents f3d2b68 + c131529 commit 96288e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ public void createReview(Long packageProductId, Long memberId, ReviewCreateReque
// 패키지 상품 조회
PackageProduct packageProduct = packageProductRepository.findByIdOrThrow(packageProductId);

// 이미 리뷰가 존재하는지 확인
if (reviewRepository.findByPackageProductIdAndMemberId(packageProductId, memberId).isPresent()) {
throw new BaseCustomException(REVIEW_ALREADY_EXIST);
}
// // 이미 리뷰가 존재하는지 확인
// if (reviewRepository.findByPackageProductIdAndMemberId(packageProductId, memberId).isPresent()) {
// throw new BaseCustomException(REVIEW_ALREADY_EXIST);
// }

// Review 엔티티 생성 및 저장
Review review = request.toEntity(packageProduct, memberId);
Expand Down
36 changes: 0 additions & 36 deletions k8s/.env

This file was deleted.

14 changes: 0 additions & 14 deletions k8s/cert2.yml

This file was deleted.

0 comments on commit 96288e2

Please sign in to comment.