From 78cfed17e7e62b88a5254310fbf6c361231e1adc Mon Sep 17 00:00:00 2001 From: kgc91747 Date: Wed, 7 Aug 2024 17:27:46 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=9D=B4=EB=A9=94=EC=9D=BC=20=EC=9D=B8?= =?UTF-8?q?=EC=A6=9D=20=EC=8B=A4=ED=8C=A8=EC=8B=9C=20=EB=B0=98=ED=99=98?= =?UTF-8?q?=EA=B0=92=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/edufocus/edufocus/mail/controller/MailController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ee2c38d..bc6be99 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 @@ -31,7 +31,7 @@ public class MailController { @GetMapping("/verify") public ResponseEntity verifyCode(@RequestParam String code, @RequestParam String email) { if (!mailService.verifyCode(code, email)) { - return new ResponseEntity<>(HttpStatus.BAD_REQUEST); + return new ResponseEntity<>(HttpStatus.NOT_FOUND); } return new ResponseEntity<>(HttpStatus.OK); }