feat: Update endpoint signup4
This commit is contained in:
parent
c063f33a91
commit
980bb45883
@ -7,6 +7,7 @@ class UserRegistration(BaseModel):
|
|||||||
username: str
|
username: str
|
||||||
password: str
|
password: str
|
||||||
email: str
|
email: str
|
||||||
@router.post("/signup")
|
|
||||||
|
@("/signup")
|
||||||
async def signup(user: UserRegistration):
|
async def signup(user: UserRegistration):
|
||||||
return {"message": "User registered successfully", "user": user.username}
|
return {"message": "User registered successfully", "user": user.username}
|
Loading…
x
Reference in New Issue
Block a user