Skip to content

Commit

Permalink
[fix]: 회원 정보 조회 시 로그인 방식 구분을 위한 타입 값 추가 반환
Browse files Browse the repository at this point in the history
  • Loading branch information
Gseungmin committed Aug 19, 2023
1 parent 92f63f5 commit ca80105
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class GetMyInfoResponseDto {
private String name;
private String birth;
private Integer gender;
private String type;

public static GetMyInfoResponseDto from(Member member) {
return GetMyInfoResponseDto.builder()
Expand All @@ -24,7 +25,7 @@ public static GetMyInfoResponseDto from(Member member) {
.name(member.getName())
.birth(member.getBirth())
.gender(member.getGender())
.type(member.getSocialType())
.build();

}
}

0 comments on commit ca80105

Please sign in to comment.