feat: Update endpoint login
This commit is contained in:
parent
788574a169
commit
dc969dab2d
@ -12,7 +12,7 @@ class UserAuth(BaseModel):
|
|||||||
username: str
|
username: str
|
||||||
password: str
|
password: str
|
||||||
|
|
||||||
@router.post("/login")
|
@router.post("/login"
|
||||||
async def login(
|
async def login(
|
||||||
user_data: UserAuth,
|
user_data: UserAuth,
|
||||||
db: Session = Depends(get_db)
|
db: Session = Depends(get_db)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user