Skip to content

Commit

Permalink
fix: 세션 쿠키가 없을 경우 empty 를 반환한다.
Browse files Browse the repository at this point in the history
  • Loading branch information
BGuga committed Sep 3, 2023
1 parent 9db4b00 commit 14c3a37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public Optional<String> getCookieOf(String cookieName) {

public Optional<String> getSessionCookie() {
if (!cookies.containsKey(SESSION_COOKIE)) {
Optional.empty();
return Optional.empty();
}
return Optional.of(cookies.get(SESSION_COOKIE));
}
Expand Down

0 comments on commit 14c3a37

Please sign in to comment.