Skip to content

Commit

Permalink
fix: 친구 답변 조회 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbonai06 committed Dec 17, 2023
1 parent d38a013 commit 8cbc4a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public List<NeighborAnswerInfoDTO> executeNeighborAnswerList(Long questionId, Lo
dto -> {
Optional<Answer> answer =
answerAdaptor.optionalQueryByQuestionAndUser(
questionId, dto.getNeighborId());
questionId, dto.getNeighborUserId());
return NeighborAnswerInfoDTO.builder()
.neighborInfo(dto)
.answerInfo(AnswerInfoVo.from(answer.orElse(null)))
Expand Down

0 comments on commit 8cbc4a5

Please sign in to comment.