diff --git a/src/main/java/com/coniverse/dangjang/domain/user/service/UserSignupService.java b/src/main/java/com/coniverse/dangjang/domain/user/service/UserSignupService.java index 776591fd..58ed284a 100644 --- a/src/main/java/com/coniverse/dangjang/domain/user/service/UserSignupService.java +++ b/src/main/java/com/coniverse/dangjang/domain/user/service/UserSignupService.java @@ -60,8 +60,8 @@ public LoginResponse signUp(SignUpRequest signUpRequest) { int recommendedCalorie = calculateRecommendedCalorie(Gender.of(signUpRequest.gender()), signUpRequest.height(), ActivityAmount.of(signUpRequest.activityAmount())); User savedUser = userRepository.save(userMapper.toEntity(oAuthInfoResponse, signUpRequest, activityAmount, gender, recommendedCalorie)); - registerWeight(savedUser, signUpRequest.weight()); pointService.addSignupPoint(savedUser.getOauthId()); + registerWeight(savedUser, signUpRequest.weight()); return authMapper.toLoginResponse(savedUser.getNickname(), false, savedUser.getHealthConnect().isConnecting()); }