feat: Update endpoint signup
This commit is contained in:
parent
cb7f037d4b
commit
0362a5b6a4
@ -9,6 +9,7 @@ class UserRegistration(BaseModel):
|
|||||||
email: str
|
email: str
|
||||||
confirmationPassword: str
|
confirmationPassword: str
|
||||||
|
|
||||||
|
#router
|
||||||
@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