From 578023e6cbe252b1757e01d0d0aecb937b338076 Mon Sep 17 00:00:00 2001 From: DDonghyeo Date: Wed, 10 Jan 2024 00:22:13 +0900 Subject: [PATCH] feat: Custom Exception --- .../kim3ho1/yourprotein/controller/KakaoLoginController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/kim3ho1/yourprotein/controller/KakaoLoginController.java b/src/main/java/com/kim3ho1/yourprotein/controller/KakaoLoginController.java index 3ebade9..fe15372 100644 --- a/src/main/java/com/kim3ho1/yourprotein/controller/KakaoLoginController.java +++ b/src/main/java/com/kim3ho1/yourprotein/controller/KakaoLoginController.java @@ -54,6 +54,6 @@ public ResponseEntity callback(@RequestParam("code") String code, HttpServlet response.addCookie(cookie2); - return ResponseEntity.ok(null); + return ResponseEntity.ok(userToken.getAccessToken()); } }