From 6fdc20b48c7dece6baa119567285166347e8cab2 Mon Sep 17 00:00:00 2001 From: Junho Yu <95111999+ryuwon2407@users.noreply.github.com> Date: Fri, 22 Nov 2024 02:17:11 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Test[#9]:=20=ED=94=84=EB=A1=A0?= =?UTF-8?q?=ED=8A=B8=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 테스트를 위해 휴대폰 인증 API 수정 --- .../groom/swipo/domain/user/controller/UserController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/groom/swipo/domain/user/controller/UserController.java b/src/main/java/com/groom/swipo/domain/user/controller/UserController.java index 68e9915..87bd671 100644 --- a/src/main/java/com/groom/swipo/domain/user/controller/UserController.java +++ b/src/main/java/com/groom/swipo/domain/user/controller/UserController.java @@ -89,10 +89,10 @@ public ResTemplate refreshAccessToken(@RequestBody TokenRe @ApiResponse(responseCode = "500", description = "서버 오류") } ) - public ResTemplate getPhoneCheck(@RequestBody PhoneCheckRequest request) { + public ResTemplate 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")