Skip to content

Commit

Permalink
Merge pull request #26 from Ong-gi-Jong-gi/feature/TSK-44/recap-ranking
Browse files Browse the repository at this point in the history
fix: userid
  • Loading branch information
dongyeoppp authored Jul 9, 2024
2 parents 083e9f8 + 3842d86 commit 5e85aca
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 5e85aca

Please sign in to comment.