diff --git a/src/main/java/org/sopt/seonyakServer/domain/member/dto/MemberJoinRequest.java b/src/main/java/org/sopt/seonyakServer/domain/member/dto/MemberJoinRequest.java index 92a555a..6a9d2e8 100644 --- a/src/main/java/org/sopt/seonyakServer/domain/member/dto/MemberJoinRequest.java +++ b/src/main/java/org/sopt/seonyakServer/domain/member/dto/MemberJoinRequest.java @@ -4,7 +4,7 @@ import java.util.List; public record MemberJoinRequest( - @NotBlank(message = "role 공백일 수 없습니다.") + @NotBlank(message = "role은 공백일 수 없습니다.") String role, Boolean isSubscribed, String nickname, diff --git a/src/main/java/org/sopt/seonyakServer/domain/member/service/MemberService.java b/src/main/java/org/sopt/seonyakServer/domain/member/service/MemberService.java index 257c82f..ee96fe4 100644 --- a/src/main/java/org/sopt/seonyakServer/domain/member/service/MemberService.java +++ b/src/main/java/org/sopt/seonyakServer/domain/member/service/MemberService.java @@ -176,6 +176,7 @@ public void validNickname(final NicknameRequest nicknameRequest) { public MemberJoinResponse patchMemberJoin(MemberJoinRequest memberJoinRequest) { Member member = memberRepository.findMemberByIdOrThrow(principalHandler.getUserIdFromPrincipal()); + log.info(String.valueOf(memberJoinRequest)); log.info("영속성 컨텍스트에 포함되어 있나요(업데이트 이전)? " + entityManager.contains(member)); member.updateMember(