diff --git a/backend/src/main/java/com/edufocus/edufocus/mail/controller/MailController.java b/backend/src/main/java/com/edufocus/edufocus/mail/controller/MailController.java index a6df23d..ee2c38d 100644 --- a/backend/src/main/java/com/edufocus/edufocus/mail/controller/MailController.java +++ b/backend/src/main/java/com/edufocus/edufocus/mail/controller/MailController.java @@ -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);