Skip to content

Commit

Permalink
Merge pull request #78 from fourix4/feat/chat
Browse files Browse the repository at this point in the history
[#53] test : request 에서 토큰 추출
  • Loading branch information
TaeHoon0 authored Jul 22, 2024
2 parents 87fac95 + 11b04ef commit 9345cd8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ private String resolveToken(HttpServletRequest request) {

String token = request.getHeader("Authorization");
System.out.println("--------- token : " + token);
System.out.println("--------- request : " + request);
if (StringUtils.hasText(token) && token.startsWith("Bearer ")) {
return token.substring(7);
}
Expand Down

0 comments on commit 9345cd8

Please sign in to comment.