Skip to content

Commit 21e8654

Browse files
authored
release: 0.9.9 (#108)
2 parents c84482e + a4f7e6a commit 21e8654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/org/gitanimals/identity/domain/UserService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class UserService(
1818
@Retryable(retryFor = [ObjectOptimisticLockingFailureException::class])
1919
@Transactional
2020
fun givePoint(username: String, point: Long, reason: String) {
21-
getUserByName(username).givePoint(point, reason)
21+
userRepository.findByName(username)?.givePoint(point, reason)
2222
}
2323

2424
@Transactional

0 commit comments

Comments
 (0)