Skip to content
Merged
Show file tree
Hide file tree
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 @@ -24,7 +24,4 @@ public class UserUpdateRequestDto {

@Schema(description = "유저 소개")
private String userIntroduction;

@Schema(description = "카카오 아이디")
private String kakaoId;
}
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,6 @@ public UserResponseDto.Userdto updateUserProfile(UserUpdateRequestDto requestDto
if (requestDto.getUserIntroduction() != null && !requestDto.getUserIntroduction().isEmpty()) {
user.setUserIntroduction(requestDto.getUserIntroduction());
}
if(requestDto.getKakaoId() != null && !requestDto.getKakaoId().isEmpty()) {
user.setKakaoId(requestDto.getKakaoId());
}

// 저장 후 DTO로 변환하여 반환
userRepository.save(user);

Expand Down