Skip to content

Commit

Permalink
Merge pull request #76 from Gongjakso/feat/mypage
Browse files Browse the repository at this point in the history
[#60] fix: 공고 상세 조회 API 반환 오류 수정
  • Loading branch information
dl-00-e8 authored Feb 18, 2024
2 parents 9938c45 + 49d60c1 commit 82e513d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public List<MyPageRes> getMyApplyList(Member member) {
// Business Logic
List<Apply> applyList = applyRepository.findAllByMemberAndDeletedAtIsNull(member);
List<Long> postIdList = applyList.stream()
.map(Apply::getApplyId)
.map(apply -> apply.getPost().getPostId())
.toList();

List<Post> postList = postRepository.findAllByPostIdInAndStatusAndDeletedAtIsNull(postIdList, RECRUITING);
Expand Down

0 comments on commit 82e513d

Please sign in to comment.