Skip to content

Commit

Permalink
feat: CookieValue 에 Nullable 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
cookienc committed Sep 20, 2023
1 parent 986923f commit bc17337
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -60,7 +61,7 @@ public ResponseEntity<Void> login(@PathVariable final OauthType oauthType,
}

@PostMapping("/refresh")
public ResponseEntity<Void> refreshJwt(@CookieValue(required = false) final String refreshToken,
public ResponseEntity<Void> refreshJwt(@Nullable @CookieValue(required = false) final String refreshToken,
final HttpServletRequest request,
final HttpServletResponse response
) {
Expand Down

0 comments on commit bc17337

Please sign in to comment.