fix: 포인트 결제 조건 - 포인트 결제가 가능한 콘텐츠만 포인트 결제를 하도록 수정
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user