Skip to content

Commit

Permalink
refactor: 코드리뷰 반영
Browse files Browse the repository at this point in the history
Co-authored-by: 정핸모 <[email protected]>
  • Loading branch information
yeochaeeon and gusah009 authored May 11, 2024
1 parent c65d5e2 commit 4b007a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class BaseballService(
if (bettingPoint <= 0) {
throw BusinessException(requestMember.id, "memberId", ErrorCode.POINT_MUST_BE_POSITIVE)
}
if (bettingPoint !in 1000..3000) {
if (bettingPoint !in MIN_BETTING_POINT.. MAX_BETTING_POINT) {
throw BusinessException(requestMember.id, "memberId", ErrorCode.INVALID_BETTING_POINT)
}

Expand Down

0 comments on commit 4b007a5

Please sign in to comment.