From 0ece852ad66f2edfa6a84b34f3d5a1b4ef8195d7 Mon Sep 17 00:00:00 2001 From: "Lee, yeeun" Date: Sat, 2 Nov 2024 20:52:21 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20=EC=BB=A8=ED=8A=B8=EB=A1=A4=EB=9F=AC=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 --- .../java/com/example/moyeothon/Controller/UserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/moyeothon/Controller/UserController.java b/src/main/java/com/example/moyeothon/Controller/UserController.java index 835dc14..eba2cd4 100644 --- a/src/main/java/com/example/moyeothon/Controller/UserController.java +++ b/src/main/java/com/example/moyeothon/Controller/UserController.java @@ -63,7 +63,7 @@ public ResponseEntity updateNickname(@PathVariable String uid, @Request // 카카오 로그인 성공 시 호출되는 엔드포인트 (GET) @Operation(summary = "카카오 로그인 성공 시 호출되는 엔드포인트 (GET)") @GetMapping("/oauth2/code/kakao") - public ResponseEntity kakaoCallback(@RequestParam String code) { + public ResponseEntity kakaoCallback(@RequestParam(name = "code") String code) { return ResponseEntity.ok(userService.loginWithOAuth2(code)); }