diff --git a/src/main/java/ongjong/namanmoo/dto/answer/AnswerDto.java b/src/main/java/ongjong/namanmoo/dto/answer/AnswerDto.java index a62656d..fb0ae8f 100644 --- a/src/main/java/ongjong/namanmoo/dto/answer/AnswerDto.java +++ b/src/main/java/ongjong/namanmoo/dto/answer/AnswerDto.java @@ -5,14 +5,14 @@ @Data public class AnswerDto { - private String memberId; + private String userId; private String userImg; private String answer; private String nickname; private String role; public AnswerDto(Answer answer) { - this.memberId = answer.getMember().getMemberId().toString(); + this.userId = answer.getMember().getMemberId().toString(); this.userImg = answer.getMember().getMemberImage(); this.answer = answer.getAnswerContent(); this.nickname = answer.getMember().getNickname();