Update code in endpoints/females.get.py
This commit is contained in:
parent
6d39179962
commit
db42a2fbb5
@ -11,7 +11,7 @@ from helpers.female_helpers import get_all_females
|
|||||||
router = APIRouter()
|
router = APIRouter()
|
||||||
|
|
||||||
@router.get("/females", status_code=200, response_model=List[FemaleSchema])
|
@router.get("/females", status_code=200, response_model=List[FemaleSchema])
|
||||||
def get_females(
|
async def get_females(
|
||||||
db: Session = Depends(get_db)
|
db: Session = Depends(get_db)
|
||||||
):
|
):
|
||||||
females = get_all_females(db)
|
females = get_all_females(db)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user