Skip to content

Commit

Permalink
Merge pull request #39 from prgrms-be-devcourse/fix/#38
Browse files Browse the repository at this point in the history
Fix: 리뷰 rating 수정
  • Loading branch information
j-ra1n committed Sep 12, 2024
2 parents 785305d + ffc0b88 commit f82502d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void registerReview(ReviewRegisterRequest request) {
.productId(product.getProductId())
.member(member)
.review(request.getReview())
.rating(0) // 기본 할인율 0
.rating(request.getRating())
.build();
reviewRepository.save(review);
}
Expand Down

0 comments on commit f82502d

Please sign in to comment.