feat: Delete POST endpoint signup2

This commit is contained in:
Backend IM Bot 2025-03-09 14:17:29 -05:00
parent 9b52a877f9
commit 92bd411b23

View File

@ -1,13 +0,0 @@
from fastapi import APIRouter, HTTPException
from pydantic import BaseModel
router = APIRouter()
class UserRegistration(BaseModel):
username: str
password: str
email: str
@router.post("/signup")
async def signup(user: UserRegistration):
return {"message": "User registered successfully", "user": user.username}