diff --git a/src/main.py b/src/main.py index 159fb3f..35b8e2b 100644 --- a/src/main.py +++ b/src/main.py @@ -74,7 +74,7 @@ class SignUpRequest(BaseModel): CODE_TTL_SEC = 15 * 60 -@app.post("/sign_up") +@app.post("/sign-up") def sign_up(req: SignUpRequest, request: Request): # validate email if not re.match(r"[^@]+@[^@]+\.[^@]+", req.email):