Skip to content

Commit

Permalink
fix: userid
Browse files Browse the repository at this point in the history
  • Loading branch information
dongyeoppp committed Jul 9, 2024
1 parent 6b8dc69 commit 3842d86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ongjong/namanmoo/dto/answer/AnswerDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3842d86

Please sign in to comment.