Skip to content

Commit

Permalink
[fix] 후기 조회시 작성자 프로필 URL 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
boo105 committed Mar 4, 2024
1 parent b7f22e2 commit 8a716a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ public class FindRestaurantReview {
private String reviewContent;

private List<String> reviewImages;

private String reviewerImageUrl;
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public FindRestaurantReview toResponse() {
.userName(user.getNickname())
.reviewContent(this.reviewContent)
.reviewImages(pictures.stream().map(RestaurantReviewPhotoEntity::getImageUrl).toList())
.reviewerImageUrl(user.getProfileImageUrl())
.build();
}
}

0 comments on commit 8a716a9

Please sign in to comment.