fix: 포인트 결제 조건 - 포인트 결제가 가능한 콘텐츠만 포인트 결제를 하도록 수정

This commit is contained in:
Klaus 2025-04-22 18:49:52 +09:00
parent c1d4c1ff1d
commit b9cb8ad4a8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class OrderService(
orderContent(orderType, content, member)
}
val usedPoint = if (order.type == OrderType.RENTAL) {
val usedPoint = if (order.type == OrderType.RENTAL && content.isPointAvailable) {
pointUsageService.usePoint(member.id!!, order.can)
} else {
0