Skip to content

Commit

Permalink
fix : my api 지원한 사람 데이터 에서 글 작성자 데이터로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sycuuui committed Feb 20, 2024
1 parent 4c8b19b commit 07f0256
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 07f0256

Please sign in to comment.