feat: Update endpoint /signup

This commit is contained in:
Backend IM Bot 2025-03-07 18:27:30 +00:00
parent 8b489bf35e
commit 846987c5e5

View File

@ -7,7 +7,7 @@ class UserRegistration(BaseModel):
username: str
password: str
email: str
new edit
@router.post("/signup")
async def signup(user: UserRegistration):
return {"message": "User registered successfully", "user": user.username}