Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/Team-Umbba/Umbba-Server
Browse files Browse the repository at this point in the history
…into fix/#125-first_qna_tutorial
  • Loading branch information
jun02160 committed Feb 25, 2024
2 parents 16d00d3 + 32d41c7 commit 88a7532
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public class MyUserInfoResponseDto {
private Long matchedDate;
private Integer qnaCnt;

private String inviteCode;
private String installUrl;

public static MyUserInfoResponseDto of(User myUser, User opponentUser, Parentchild parentchild, QnA qnA, long date, int qnaCnt) {

return MyUserInfoResponseDto.builder()
Expand All @@ -54,6 +57,9 @@ public static MyUserInfoResponseDto of(User myUser, Parentchild parentchild) {
.isMeChild(myUser.isMeChild())
.section(QuestionSection.YOUNG.getValue())
.matchedDate(0L)
.qnaCnt(0).build();
.qnaCnt(0)
.inviteCode(parentchild.getInviteCode())
.installUrl("http://umbba.site/")
.build();
}
}

0 comments on commit 88a7532

Please sign in to comment.