Skip to content

Commit

Permalink
refactor: 인증 코드 sms 전송 API, 이메일 찾기 API 수정(#28)
Browse files Browse the repository at this point in the history
- 잘못된 어노테이션 순서 수정
- 이메일 찾기 API, 요청 검증 과정 추가
  • Loading branch information
Minjae-An committed Mar 27, 2024
1 parent 6a40106 commit 082234d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ResponseEntity<CustomResponse<UserJoinResponse>> join(
@ApiResponse(responseCode = "202", description = "전화번호 인증 코드 전송 성공")
@PostMapping("/users/help/email-inquiry/verification-code")
public ResponseEntity<CustomResponse<Void>> verifyPhoneNumber(
@RequestBody @Valid UserPhoneNumberVerifyRequest request) {
@Valid @RequestBody UserPhoneNumberVerifyRequest request) {

loginService.sendVerificationCodeMessage(request);

Expand All @@ -58,7 +58,7 @@ public ResponseEntity<CustomResponse<Void>> verifyPhoneNumber(
@ApiResponse(responseCode = "200", description = "아이디 찾기 정상 처리")
@PostMapping("/users/help/email-inquiry")
public ResponseEntity<CustomResponse<UserEmailInquiryResponse>> idInquiry(
@RequestBody UserEmailInquiryRequest request) {
@Valid @RequestBody UserEmailInquiryRequest request) {

UserEmailInquiryResponse response = loginService.findEmail(request);

Expand Down

0 comments on commit 082234d

Please sign in to comment.