Update code in endpoints/females.get.py

This commit is contained in:
Backend IM Bot 2025-03-28 09:34:55 +01:00
parent 6d39179962
commit db42a2fbb5

View File

@ -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)