fix: 포인트 정책 등록 - request에 활성화 여부 제거
This commit is contained in:
		| @@ -12,8 +12,7 @@ data class CreatePointRewardPolicyRequest( | ||||
|     val threshold: Int, | ||||
|     val pointAmount: Int, | ||||
|     val startDate: String, | ||||
|     val endDate: String, | ||||
|     val isActive: Boolean | ||||
|     val endDate: String | ||||
| ) { | ||||
|     fun toEntity(): PointRewardPolicy { | ||||
|         val dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm") | ||||
| @@ -31,7 +30,7 @@ data class CreatePointRewardPolicyRequest( | ||||
|                 .atZone(ZoneId.of("Asia/Seoul")) | ||||
|                 .withZoneSameInstant(ZoneId.of("UTC")) | ||||
|                 .toLocalDateTime(), | ||||
|             isActive = isActive | ||||
|             isActive = true | ||||
|         ) | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user