Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
public class MyPageResponse {

private final String profileImg;
private final String nickname;
private final Long ongoingCount;
private final Long succeedCount;
private final Long totalCount;

@Builder
public MyPageResponse(String profileImg, Long ongoingCount, Long succeedCount, Long totalCount) {
public MyPageResponse(String profileImg, String nickname, Long ongoingCount, Long succeedCount, Long totalCount) {
this.profileImg = profileImg;
this.nickname = nickname;
this.ongoingCount = ongoingCount;
this.succeedCount = succeedCount;
this.totalCount = totalCount;
Expand All @@ -23,6 +25,7 @@ public MyPageResponse(String profileImg, Long ongoingCount, Long succeedCount, L
public static MyPageResponse of(Member member, Long ongoing, Long succeed, Long total) {
return MyPageResponse.builder()
.profileImg(member.getProfileImg())
.nickname(member.getNickname())
.ongoingCount(ongoing)
.succeedCount(succeed)
.totalCount(total)
Expand Down
Loading