From 670188e7aa8d1f7a324a9274c0761db3f6aa488c Mon Sep 17 00:00:00 2001 From: yso8296 <66588512+yso8296@users.noreply.github.com> Date: Fri, 15 Nov 2024 22:18:42 +0900 Subject: [PATCH] =?UTF-8?q?Refactor:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=EB=B0=A9=EC=8B=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nullnullteam/member/controller/MemberController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/hackathon/nullnullteam/member/controller/MemberController.java b/src/main/java/com/hackathon/nullnullteam/member/controller/MemberController.java index 740e8c8..da662e0 100644 --- a/src/main/java/com/hackathon/nullnullteam/member/controller/MemberController.java +++ b/src/main/java/com/hackathon/nullnullteam/member/controller/MemberController.java @@ -11,6 +11,7 @@ import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @@ -33,7 +34,7 @@ public ResponseEntity login() { .build(); }*/ - @GetMapping("/callback") + @PostMapping("/callback") public ResponseEntity registerMember(@RequestBody MemberRequest.Info request) { MemberModel.Login memberInfo = memberService.register(request.toCommand());