쿠폰 번호 사용 API 수정
- 쿠폰 사용내역을 기록하지 않던 버그 수정
This commit is contained in:
		| @@ -55,6 +55,8 @@ class ChargeService( | ||||
|             throw SodaException("이미 사용한 쿠폰번호 입니다.") | ||||
|         } | ||||
|  | ||||
|         canCouponNumber.member = member | ||||
|  | ||||
|         val coupon = canCouponNumber.canCoupon!! | ||||
|         val couponCharge = Charge(0, coupon.can, status = ChargeStatus.COUPON) | ||||
|         couponCharge.title = "${coupon.can} 캔" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user