We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473b7fa commit 2975aa9Copy full SHA for 2975aa9
1 file changed
src/main/kotlin/org/prography/samsung/backend/user/service/UserProfileService.kt
@@ -42,10 +42,9 @@ class UserProfileService(
42
}
43
44
@Transactional(readOnly = true)
45
- fun getUserCurriculum(userId: Long): UserCurriculum =
46
- userCurriculumRepository.findById(userId).orElseThrow {
47
- CustomException(DomainErrorCode.CURRICULUM_NOT_SELECTED)
48
- }
+ fun getUserCurriculum(userId: Long): UserCurriculum = userCurriculumRepository.findById(userId).orElseThrow {
+ CustomException(DomainErrorCode.CURRICULUM_NOT_SELECTED)
+ }
49
50
private fun buildHomeMessage(curriculumName: String): String = "쌤 오늘 학교에서 $curriculumName 배웠는데 하나도 모르겠어요 ㅠㅠ"
51
0 commit comments