Skip to content

Commit f5a03c2

Browse files
authored
Merge pull request #557 from projects200/fix/commentProfileImage
[FIX]댓글에서 멤버 프로필 사진이 null로 반환되는 오류 수정
2 parents 4764216 + f86fd27 commit f5a03c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/project200/undabang/comment/repository/impl/CommentRepositoryImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public List<CommentResponse> findCommentsWithChildrenByFeedId(Long feedId, Membe
4848
comment.id,
4949
member.memberId,
5050
member.memberNickname,
51-
memberPicture.memberPicturesUrl,
51+
picture.pictureUrl,
5252
Expressions.nullExpression(String.class), // 썸네일은 추후 개발 예정
5353
comment.content,
5454
comment.likesCount,
@@ -87,7 +87,7 @@ public List<CommentResponse> findCommentsWithChildrenByFeedId(Long feedId, Membe
8787
comment.id,
8888
member.memberId,
8989
member.memberNickname,
90-
memberPicture.memberPicturesUrl,
90+
picture.pictureUrl,
9191
Expressions.nullExpression(String.class),
9292
comment.content,
9393
comment.likesCount,

0 commit comments

Comments
 (0)