diff --git a/Api/src/main/java/tify/server/api/answer/service/RetrieveDailyAnswerUseCase.java b/Api/src/main/java/tify/server/api/answer/service/RetrieveDailyAnswerUseCase.java index b655e70a..1e531a5c 100644 --- a/Api/src/main/java/tify/server/api/answer/service/RetrieveDailyAnswerUseCase.java +++ b/Api/src/main/java/tify/server/api/answer/service/RetrieveDailyAnswerUseCase.java @@ -56,7 +56,7 @@ public List executeNeighborAnswerList(Long questionId, Lo dto -> { Optional answer = answerAdaptor.optionalQueryByQuestionAndUser( - questionId, dto.getNeighborId()); + questionId, dto.getNeighborUserId()); return NeighborAnswerInfoDTO.builder() .neighborInfo(dto) .answerInfo(AnswerInfoVo.from(answer.orElse(null)))