diff --git a/umbba-api/src/main/java/sopt/org/umbba/api/controller/qna/dto/response/MyUserInfoResponseDto.java b/umbba-api/src/main/java/sopt/org/umbba/api/controller/qna/dto/response/MyUserInfoResponseDto.java index beddeff..ac6bc0a 100644 --- a/umbba-api/src/main/java/sopt/org/umbba/api/controller/qna/dto/response/MyUserInfoResponseDto.java +++ b/umbba-api/src/main/java/sopt/org/umbba/api/controller/qna/dto/response/MyUserInfoResponseDto.java @@ -45,8 +45,9 @@ public static MyUserInfoResponseDto of(User myUser, User opponentUser, Parentchi .isMeChild(myUser.isMeChild()) .section(qnA.getQuestion().getSection().getValue()) .matchedDate(date) // 일수와 문답 수는 다를 수 있음 + .qnaCnt(qnaCnt) .isOpponentExit(false) - .qnaCnt(qnaCnt).build(); + .build(); } // 아직 매칭된 유저가 없는 경우