Skip to content

Commit

Permalink
fix: Letter 조회시 응답객체 수정 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
623nana committed Aug 21, 2021
1 parent 2910f3d commit bcce1fe
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public class LetterResponse {

private String email;

private String name;

private State state;

private Sticker sticker;
Expand All @@ -45,6 +47,7 @@ public LetterResponse(Letter source) {
public LetterResponse(Letter source, Question question) {
this(source);
this.questionText = question.getText();
this.name = source.getUser().getName();
}

private String decodeContents(String contents) {
Expand Down

0 comments on commit bcce1fe

Please sign in to comment.