Skip to content

Commit

Permalink
[MODIFY] 마이페이지 API 초대링크 응답 추가 #128
Browse files Browse the repository at this point in the history
  • Loading branch information
jun02160 committed Feb 25, 2024
1 parent c009af5 commit 93024c6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class MyUserInfoResponseDto {
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) {

Expand Down Expand Up @@ -57,6 +58,8 @@ public static MyUserInfoResponseDto of(User myUser, Parentchild parentchild) {
.section(QuestionSection.YOUNG.getValue())
.matchedDate(0L)
.qnaCnt(0)
.inviteCode(parentchild.getInviteCode()).build();
.inviteCode(parentchild.getInviteCode())
.installUrl("http://umbba.site/")
.build();
}
}

0 comments on commit 93024c6

Please sign in to comment.