From 74152b24e6205c4d7c658a03dc86030e311e0cc6 Mon Sep 17 00:00:00 2001 From: gytjd Date: Wed, 30 Oct 2024 18:29:29 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20RequestParam=20=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EB=B0=9B=EB=8A=94=20=EB=B0=A9=EC=8B=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AIWA/MCPBackend_Member/Controller/MemberController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/AIWA/MCPBackend_Member/Controller/MemberController.java b/src/main/java/AIWA/MCPBackend_Member/Controller/MemberController.java index 2397920..44dd284 100644 --- a/src/main/java/AIWA/MCPBackend_Member/Controller/MemberController.java +++ b/src/main/java/AIWA/MCPBackend_Member/Controller/MemberController.java @@ -44,8 +44,8 @@ public CommonResult deleteMember(@RequestBody MemberDeleteRequestDto deleteMembe // 특정 회원 조회 - @GetMapping("/email/{email}") // PathVariable로 이메일을 전달 - public SingleResult getMember(@PathVariable String email) { + @GetMapping("/email") // PathVariable로 이메일을 전달 + public SingleResult getMember(@RequestParam String email) { Member findMember = memberService.getMemberByEmail(email); // Optional을 반환하지 않는다고 가정 System.out.println(email); System.out.println(findMember.getAccess_key());