Skip to content

Commit

Permalink
Update KakaoLoginService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
haram8009 authored May 23, 2024
1 parent 5fe47ec commit 4d1afdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public AuthDto signIn(KakaoUserInfoDto dto) {
// DB에 정보 없으면 회원가입 처리
if (user.getKakaoId() == null) {
user.setKakaoId(dto.getId());
userRepository.save(user);
user = userRepository.save(user);
}

String token = jwtService.createAccessToken(user.getId());
Expand Down

0 comments on commit 4d1afdb

Please sign in to comment.