diff --git a/backend/baton/src/main/java/touch/baton/domain/oauth/controller/OauthController.java b/backend/baton/src/main/java/touch/baton/domain/oauth/controller/OauthController.java index 4724998a6..98d4383df 100644 --- a/backend/baton/src/main/java/touch/baton/domain/oauth/controller/OauthController.java +++ b/backend/baton/src/main/java/touch/baton/domain/oauth/controller/OauthController.java @@ -1,5 +1,6 @@ package touch.baton.domain.oauth.controller; +import jakarta.annotation.Nullable; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import lombok.RequiredArgsConstructor; @@ -60,7 +61,7 @@ public ResponseEntity login(@PathVariable final OauthType oauthType, } @PostMapping("/refresh") - public ResponseEntity refreshJwt(@CookieValue(required = false) final String refreshToken, + public ResponseEntity refreshJwt(@Nullable @CookieValue(required = false) final String refreshToken, final HttpServletRequest request, final HttpServletResponse response ) {