Skip to content

Commit eddbdb9

Browse files
authored
Merge pull request #136 from prgrms-web-devcourse-final-project/feature/EA3-133-study-management
[EA3-133] fix: 에러코드 오류 수정
2 parents 7a783ca + 1249542 commit eddbdb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/grep/neogul_coder/domain/study/service/StudyService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public StudyInfoResponse getMyStudyContent(Long studyId, Long userId) {
7979

8080
public StudyMemberInfoResponse getMyStudyMemberInfo(Long studyId, Long userId) {
8181
StudyMember studyMember = Optional.ofNullable(studyMemberQueryRepository.findByStudyIdAndUserId(studyId, userId))
82-
.orElseThrow(() -> new NotFoundException(STUDY_NOT_MEMBER));
82+
.orElseThrow(() -> new NotFoundException(STUDY_MEMBER_NOT_FOUND));
8383

8484
User user = userRepository.findById(userId)
8585
.orElseThrow(() -> new NotFoundException(USER_NOT_FOUND));

0 commit comments

Comments
 (0)