Skip to content

Commit

Permalink
Merge pull request #82 from Gongjakso/feat/apply
Browse files Browse the repository at this point in the history
fix : my api 지원한 사람 데이터 에서 글 작성자 데이터로 수정
  • Loading branch information
sycuuui authored Feb 20, 2024
2 parents 0bc2c68 + 07f0256 commit 3fbeffe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public record MyPageRes(
public static MyPageRes of(Post post, Member member, List<String> categoryList) {
return MyPageRes.builder()
.postId(post.getPostId())
.memberId(member.getMemberId())
.memberName(member.getName())
.memberId(post.getMember().getMemberId())
.memberName(post.getMember().getName())
.title(post.getTitle())
.contents(post.getContents())
.status(post.getStatus())
Expand Down

0 comments on commit 3fbeffe

Please sign in to comment.