Skip to content

Commit

Permalink
Merge pull request #107 from Orange-Co/feature/common
Browse files Browse the repository at this point in the history
chore: set response dto
  • Loading branch information
Kang1221 authored Sep 22, 2024
2 parents 5dd77a2 + e085164 commit c34bbb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/co/orange/ddanzi/service/auth/AuthService.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public ApiResponse<?> verify(VerifyRequestDto requestDto){

Authentication authentication = user.getAuthentication();
if(authentication != null) {
verifyExistingAuthentication(user, requestDto);
return verifyExistingAuthentication(user, requestDto);
}
else{
String phone = formatPhone(requestDto.getPhone());
Expand All @@ -90,8 +90,8 @@ public ApiResponse<?> verify(VerifyRequestDto requestDto){
log.info("회원 정보 변경 완료 user_authentication_id -> {}", user.getAuthentication().getId());

termService.createUserAgreements(user, requestDto.getIsAgreedMarketingTerm());
return ApiResponse.onSuccess(Success.CREATE_AUTHENTICATION_SUCCESS, setVerifyResponse(user));
}
return ApiResponse.onSuccess(Success.CREATE_AUTHENTICATION_SUCCESS, setVerifyResponse(user));
}

@Transactional
Expand Down

0 comments on commit c34bbb6

Please sign in to comment.