Skip to content

Commit

Permalink
✅ Test[#9]: 프론트 테스트
Browse files Browse the repository at this point in the history
테스트를 위해 휴대폰 인증 API 수정
  • Loading branch information
ryuwon2407 committed Nov 21, 2024
1 parent f298149 commit 6fdc20b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ public ResTemplate<TokenRefreshResponse> refreshAccessToken(@RequestBody TokenRe
@ApiResponse(responseCode = "500", description = "서버 오류")
}
)
public ResTemplate<Void> getPhoneCheck(@RequestBody PhoneCheckRequest request) {
public ResTemplate<String> getPhoneCheck(@RequestBody PhoneCheckRequest request) {
LocalDateTime sentAt = LocalDateTime.now();
smsService.sendVerificationMessage(request.phone(), sentAt); // 인스턴스 메서드 호출
return new ResTemplate<>(HttpStatus.OK, "송신 완료", null);
return new ResTemplate<>(HttpStatus.OK, "송신 완료", "");
}

@PostMapping("/phone-verification")
Expand Down

0 comments on commit 6fdc20b

Please sign in to comment.