From b240adaf8b2d4e6ea376bc6b85e8e1cc819a3490 Mon Sep 17 00:00:00 2001 From: UU_jeong <80961726+oU-Ua@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:44:56 +0900 Subject: [PATCH] feat : kakaoLogin --- .../java/mvc/promiseme/users/controller/UserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mvc/promiseme/users/controller/UserController.java b/src/main/java/mvc/promiseme/users/controller/UserController.java index 8039d2d..7e1e015 100644 --- a/src/main/java/mvc/promiseme/users/controller/UserController.java +++ b/src/main/java/mvc/promiseme/users/controller/UserController.java @@ -66,7 +66,7 @@ public class UserController { @ApiResponses({ @ApiResponse(responseCode = "200", description = "성공", content = @Content(schema = @Schema(implementation = KakaoResponseDTO.class))) }) - @PostMapping("user/loginKakao") + @GetMapping("user/loginKakao") public ResponseEntity kakaoLogin(){ KakaoResponseDTO kakaoResponseDTO = new KakaoResponseDTO(kakaoApi.getKakaoApiKey(),kakaoApi.getKakaoRedirectUri());