refactor: email API 경로명 수정

This commit is contained in:
kgc91747 2024-08-07 13:42:17 +09:00
parent d9adb66800
commit 919b61c47c

View File

@ -18,7 +18,7 @@ public class MailController {
private final UserService userService;
@PostMapping("/sendCode")
@PostMapping("/sendcode")
public ResponseEntity<?> sendMail(@RequestParam String email) {
if (!userService.isEmailExist(email)) {
return new ResponseEntity<>(HttpStatus.NOT_FOUND);