Skip to content

Commit

Permalink
[merge] 유저 탈퇴 플랫폼아이디 수정 - #182
Browse files Browse the repository at this point in the history
[FIX] 유저 탈퇴 플랫폼아이디 수정 - #182
  • Loading branch information
rlarlgnszx authored Jul 18, 2024
2 parents f1fe77d + 69b44f1 commit 98d5958
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ public class AuthService {
private final JwtProvider jwtProvider;
private final RefreshTokenRepository refreshTokenRepository;
private final UserService userService;
private final PointRepository pointRepository;
private final DateRepository dateRepository;
private final DateAccessRepository dateAccessRepository;
private final CourseRepository courseRepository;
private final LikeRepository likeRepository;

@Transactional
public UserJwtInfoRes signUp(final String token, final UserSignUpReq userSignUpReq, @Nullable final MultipartFile image, final List<DateTagType> tag) {
Expand Down Expand Up @@ -100,7 +95,8 @@ public void withdraw(final Long userId, final AppleWithdrawAuthCodeReq AppleWith
} else {
throw new InvalidValueException(FailureCode.INVALID_PLATFORM_TYPE);
}


foundUser.setPlatformUserId("USER DELETED");
deleteRefreshToken(foundUser.getId());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public class User extends BaseTimeEntity {

@Column(name = "platform_user_id")
@NotNull
@Setter
private String platformUserId;

@Column(name = "platform")
Expand Down

0 comments on commit 98d5958

Please sign in to comment.