Skip to content

Commit

Permalink
♻️ Refactor : 유저 프로필 response에 socialType 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jiinkyung committed Aug 16, 2024
1 parent 0836913 commit 3a8cdd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public static GetProfileResponse toGetProfileResponseDTO (User user) {
.name(user.getName())
.imageKeyName(user.getProfileImage())
.birthDate(user.getBirthDate())
.socialType(user.getSocialType())
.build();
}

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/backend/like_house/domain/user/dto/UserDTO.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package backend.like_house.domain.user.dto;

import backend.like_house.domain.user.entity.SocialType;
import backend.like_house.global.validation.annotation.CheckImageKeyName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
Expand All @@ -19,6 +20,7 @@ public static class GetProfileResponse {
private String name;
private String imageKeyName;
private LocalDate birthDate;
private SocialType socialType;
}

@Getter
Expand Down

0 comments on commit 3a8cdd8

Please sign in to comment.