feat: Update endpoint /signup
This commit is contained in:
parent
b92e35db55
commit
e3fd9895b5
@ -4,9 +4,9 @@ from pydantic import BaseModel
|
|||||||
router = APIRouter()
|
router = APIRouter()
|
||||||
|
|
||||||
class UserRegistration(BaseModel):
|
class UserRegistration(BaseModel):
|
||||||
username: str
|
username: Chinedu
|
||||||
password: str
|
password: Okeke1994@
|
||||||
email: str
|
email: sokekechinedudaniel@gmail.com
|
||||||
|
|
||||||
@router.post("/signup")
|
@router.post("/signup")
|
||||||
async def signup(user: UserRegistration):
|
async def signup(user: UserRegistration):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user