feat: Update endpoint signup4

This commit is contained in:
Backend IM Bot 2025-03-10 09:37:32 -05:00
parent c063f33a91
commit 980bb45883

View File

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