Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
choidongkuen committed Oct 11, 2023
2 parents b7f206b + c97527f commit 050351c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ public class UserOauthLoginResponseDto {
private String refreshToken;
private String expiredTime;
private String roleType;
private Boolean phoneExisted;
private String phoneNumber;
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private UserOauthLoginResponseDto processKakaoToken(User user) {
.expiredTime(expireTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")))
.refreshToken(refreshToken.getTokenValue())
.roleType(user.getRoleType().name())
.phoneExisted(user.getPhoneNumber() != null)
.phoneNumber(user.getPhoneNumber())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private UserOauthLoginResponseDto getOauthLoginResult(User user) {
.expiredTime(expireTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))) // 만료 Local Date Time
.refreshToken(refreshToken.getTokenValue())
.roleType(user.getRoleType().name())
.phoneExisted(user.getPhoneNumber() != null)
.phoneNumber(user.getPhoneNumber())
.build();

}
Expand Down

0 comments on commit 050351c

Please sign in to comment.