Skip to content

Commit

Permalink
release: 0.9.9 (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb authored Jan 27, 2025
2 parents c84482e + a4f7e6a commit 21e8654
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class UserService(
@Retryable(retryFor = [ObjectOptimisticLockingFailureException::class])
@Transactional
fun givePoint(username: String, point: Long, reason: String) {
getUserByName(username).givePoint(point, reason)
userRepository.findByName(username)?.givePoint(point, reason)
}

@Transactional
Expand Down

0 comments on commit 21e8654

Please sign in to comment.