Skip to content

Commit

Permalink
fix: error of limitEnabled judge
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliothmoon committed Feb 4, 2025
1 parent 3e27b61 commit 0016453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/biz/cdkey.kt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ fun validateCDK(params: ValidateParams): Resp {
}

private fun limit(cdk: String) {
if (!Boolean.equals(Props.Extra.limitEnabled)) {
if (!Props.Extra.limitEnabled) {
return
}
val date = DateTimeFormatter.ofPattern("yyyy-MM-dd").format(LocalDateTime.now())
Expand Down

0 comments on commit 0016453

Please sign in to comment.