diff --git a/backend/src/main/java/com/worlabel/domain/auth/controller/AuthController.java b/backend/src/main/java/com/worlabel/domain/auth/controller/AuthController.java index c3dfab3..db0ea42 100644 --- a/backend/src/main/java/com/worlabel/domain/auth/controller/AuthController.java +++ b/backend/src/main/java/com/worlabel/domain/auth/controller/AuthController.java @@ -79,8 +79,7 @@ public class AuthController { return Arrays.stream(cookies) .filter(cookie -> "refreshToken".equals(cookie.getName())) .findFirst() - .map(Cookie::getValue) - .map(String::trim) + .map(cookie -> cookie.getValue().trim()) .orElse(null); } return null;