Skip to content

Commit

Permalink
fix: refs BETAProjectUpload --> ProjectUpload
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 21, 2023
1 parent 6253ac2 commit cd3b590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/app/projects/project_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ async def delete_project(project_id: int, db: Session = Depends(database.get_db)

@router.post("/create_project", response_model=project_schemas.ProjectOut)
async def create_project(
project_info: project_schemas.BETAProjectUpload,
project_info: project_schemas.ProjectUpload,
db: Session = Depends(database.get_db),
):
"""Create a project in ODK Central and the local database."""
Expand Down Expand Up @@ -279,7 +279,7 @@ async def update_odk_credentials(
@router.put("/{id}", response_model=project_schemas.ProjectOut)
async def update_project(
id: int,
project_info: project_schemas.BETAProjectUpload,
project_info: project_schemas.ProjectUpload,
db: Session = Depends(database.get_db),
):
"""Update an existing project by ID.
Expand Down

0 comments on commit cd3b590

Please sign in to comment.