Skip to content

Commit

Permalink
[fix] change access modifier to public for apply transactional annota…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
kgy1008 committed Jan 24, 2025
1 parent 15c8bfe commit a0bff48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AuthService {
private final EventPublisher eventPublisher;

@Transactional
protected UserLoginResponse saveOrGetUser(final UserInfoResponse userInfo) {
public UserLoginResponse saveOrGetUser(final UserInfoResponse userInfo) {
Optional<User> user = userFinder.findUserByPlatFormAndSeralId(userInfo.platform(), userInfo.serialId());
boolean isRegistered = isRegistered(user);
User findUser = loadOrCreateUser(user, userInfo);
Expand All @@ -46,7 +46,7 @@ protected UserLoginResponse saveOrGetUser(final UserInfoResponse userInfo) {
}

@Transactional
protected void deleteUser(final User user) {
public void deleteUser(final User user) {
user.softDelete();
userInfoFinder.getUserInfo(user.getId()).softDelete();
}
Expand Down

0 comments on commit a0bff48

Please sign in to comment.