Skip to content

Commit 8d214e5

Browse files
committed
hotfix: 현재 유저 정보가져오기 로직 변경
1 parent 2ca463e commit 8d214e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/dsm/repo/internal/core/domain/component/student/impl/CurrentStudentImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ public StudentModel getStudent() {
3232
@Override
3333
@Transactional
3434
public ResumeModel getResume() {
35-
return resumeRepository.findByWriterId(getStudent().accountId())
35+
return resumeRepository.findByWriterId(getStudent().id())
3636
.orElseThrow(() -> ResumeNotFoundException.EXCEPTION);
3737
}
3838

3939
@Override
4040
@Transactional
4141
public ResumeModel getResume(String studentId) {
42-
return resumeRepository.findById(studentId)
42+
return resumeRepository.findByWriterId(studentId)
4343
.orElseThrow(() -> ResumeNotFoundException.EXCEPTION);
4444
}
4545

0 commit comments

Comments
 (0)