Skip to content

Commit

Permalink
fix: 상세 내용 표시할 때 리뷰이 이름 치환 (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
donghoony authored Aug 9, 2024
1 parent 9d0f426 commit 409130c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ private ReviewDetailResponse createReviewDetailResponse(Review review, ReviewGro
.stream()
.map(reviewContent -> {
Question question = questionRepository.getQuestionById(reviewContent.getQuestionId());
return new ReviewContentResponse(reviewContent.getId(), question.getContent(),
return new ReviewContentResponse(
reviewContent.getId(),
question.convertContent("{revieweeName}", reviewGroup.getReviewee()),
reviewContent.getAnswer());
})
.toList();
Expand Down

0 comments on commit 409130c

Please sign in to comment.