feat: Update endpoint /signup
This commit is contained in:
parent
8b489bf35e
commit
846987c5e5
@ -7,7 +7,7 @@ class UserRegistration(BaseModel):
|
|||||||
username: str
|
username: str
|
||||||
password: str
|
password: str
|
||||||
email: str
|
email: str
|
||||||
|
new edit
|
||||||
@router.post("/signup")
|
@router.post("/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