diff --git a/src/main/java/com/noplanb/domain/user/application/UserService.java b/src/main/java/com/noplanb/domain/user/application/UserService.java index 073b6eb..e4e90ec 100644 --- a/src/main/java/com/noplanb/domain/user/application/UserService.java +++ b/src/main/java/com/noplanb/domain/user/application/UserService.java @@ -84,9 +84,9 @@ public ResponseEntity cancelAccount(UserPrincipal userPrincipal) { userRepository.delete(user); // Daily Experience 정보 삭제 - Character character = characterRepository.findByUserId(userPrincipal.getId()).orElseThrow(() -> new IllegalArgumentException("캐릭터를 찾을 수 없습니다.")); - Long characterId = character.getId(); - dailyExperienceRepository.deleteAllByCharacterId(characterId); +// Character character = characterRepository.findByUserId(userPrincipal.getId()).orElseThrow(() -> new IllegalArgumentException("캐릭터를 찾을 수 없습니다.")); +// Long characterId = character.getId(); +// dailyExperienceRepository.deleteAllByCharacterId(characterId); // 응답 생성 및 반환 ApiResponse apiResponse = ApiResponse.builder()