diff --git a/amarillo/app/routers/carpool.py b/amarillo/app/routers/carpool.py index 4ede57c..f6725cb 100644 --- a/amarillo/app/routers/carpool.py +++ b/amarillo/app/routers/carpool.py @@ -30,7 +30,7 @@ router = APIRouter( "description": "Agency does not exist"}, }) -async def post_carpool(carpool: Carpool = Body(..., examples=examples), +async def post_carpool(carpool: Carpool = Body(..., openapi_examples=examples), requesting_agency_id: str = Depends(verify_api_key)) -> Carpool: await verify_permission_for_same_agency_or_admin(carpool.agency, requesting_agency_id) diff --git a/pyproject.toml b/pyproject.toml index 510409f..a45828c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "amarillo-core" -version = "0.0.13" +version = "0.0.14" dependencies = [ "fastapi[all]==0.104.0", "geopandas==0.14",