Skip to content

Commit

Permalink
[Hotfix] add name in membersummarydto
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong committed Jul 7, 2024
1 parent f3d5fe4 commit 8a87e04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.example.waggle.domain.member.presentation.converter;

import com.example.waggle.domain.member.persistence.entity.Member;
import com.example.waggle.domain.member.presentation.dto.MemberResponse.*;
import com.example.waggle.global.util.EmailUtil;
import com.example.waggle.global.util.MediaUtil;
import com.example.waggle.domain.member.presentation.dto.MemberResponse.*;

import java.util.List;
import java.util.stream.Collectors;
Expand All @@ -16,6 +16,7 @@ public static MemberSummaryDto toMemberSummaryDto(Member member) {
.userUrl(member.getUserUrl())
.nickname(member.getNickname())
.profileImgUrl(MediaUtil.getProfileImg(member))
.name(member.getName())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public static class MemberSummaryDto {
private String userUrl;
private String nickname;
private String profileImgUrl;
private String name;
}

@Data
Expand Down

0 comments on commit 8a87e04

Please sign in to comment.