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