Skip to content

Commit

Permalink
hot fix : 리프레쉬 갱신 후 저장안되는 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
MyunghyunNero committed Nov 19, 2023
1 parent 5ec04ca commit b31165f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public RenewTokenResponse renewToken(String refreshToken) {
}

user.renewRefreshToken();

userRepository.save(user);
RenewTokenResponse response = new RenewTokenResponse();
response.setAccessToken(this.jwtProvider.createToken(user.getName(), List.of(user.getRole())));
response.setRefreshToken(user.getRefreshToken());
Expand Down

0 comments on commit b31165f

Please sign in to comment.