Skip to content

Commit

Permalink
Wkzb 398 ๐ŸŽจ ํšŒ์›์ •๋ณด ์กฐํšŒ - ํ•œ์ค„์†Œ๊ฐœ ์ถ”๊ฐ€ (#181)
Browse files Browse the repository at this point in the history
* ๐Ÿ› ๋‚ด๊ฐ€ ์ฐจ๋‹จํ•œ ์œ ์ € ์กฐํšŒ ์ฟผ๋ฆฌ๋ฌธ ์ˆ˜์ •

* โœจ ๋‚ด๊ฐ€ ์ข‹์•„์š” ๋ˆ„๋ฅธ ๋ ˆ์‹œํ”ผ ์กฐํšŒ API

* โœจ ๋‚ด๊ฐ€ ์Šคํฌ๋žฉํ•œ ๋ ˆ์‹œํ”ผ ์กฐํšŒ API

* ๐ŸŽจ ๋‚ด์ง‘๋‹ค๋ฐฉ ํ™”๋ฉด ์กฐํšŒ - ๋‚˜๋ฅผ ํŒ”๋กœ์šฐํ•˜๋Š”์ง€ ์—ฌ๋ถ€ ์ถ”๊ฐ€

* ๐ŸŽจ ํšŒ์›์ •๋ณด ์กฐํšŒ API - ํ•œ์ค„์†Œ๊ฐœ ์ถ”๊ฐ€
  • Loading branch information
HyoBN authored Oct 11, 2023
1 parent ef45618 commit 15379cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ public static MemberResponseDto.MemberInfoResponseDto toMemberInfoDto(Member mem
return MemberResponseDto.MemberInfoResponseDto.builder()
.profileUrl(member.getProfileUrl())
.email(member.getEmail())
.caption(member.getCaption())
.memberBasicInfoDto(memberBasicInfoDto(member))
.memberDetailInfoDto(memberDetailInfoDto(member))
.nickname(member.getNickname())
.preferCategories(preferCategories)
.build();
}

public static Member toMember(Long memberId) {
return staticMemberRepository.findById(memberId).orElseThrow(() -> new MemberException(CommonStatus.MEMBER_NOT_FOUND));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public static class MemberDetailInfoDto{
public static class MemberInfoResponseDto {
private String profileUrl;
private String email;
private String caption;
private MemberBasicInfoDto memberBasicInfoDto;
private MemberDetailInfoDto memberDetailInfoDto;
private String nickname;
Expand Down

0 comments on commit 15379cd

Please sign in to comment.