refactor: email API 경로명 수정
This commit is contained in:
parent
d9adb66800
commit
919b61c47c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user