From 16bb5f90aa7d82007cf25a75dff345c422818ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B0=80=EC=98=81?= Date: Thu, 1 Aug 2024 14:12:40 +0900 Subject: [PATCH] chore: --- .../SOPO_server_v2/domain/member/service/MemberService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/kr/hs/dgsw/SOPO_server_v2/domain/member/service/MemberService.java b/src/main/java/kr/hs/dgsw/SOPO_server_v2/domain/member/service/MemberService.java index 084dbfc..e59b6a5 100644 --- a/src/main/java/kr/hs/dgsw/SOPO_server_v2/domain/member/service/MemberService.java +++ b/src/main/java/kr/hs/dgsw/SOPO_server_v2/domain/member/service/MemberService.java @@ -20,7 +20,7 @@ public class MemberService { @Transactional(rollbackFor = Exception.class) public Response deleteMember(){ - MemberEntity member = memberRepository.findByMemberId(getCurrentMember.current().getMemberId()); + MemberEntity member = getCurrentMember.current(); member.setMemberState(MemberState.DELETED); return Response.of(HttpStatus.OK, "성공"); }