diff --git a/src/backend/app/projects/project_crud.py b/src/backend/app/projects/project_crud.py index a3f37e34fb..39526a7169 100644 --- a/src/backend/app/projects/project_crud.py +++ b/src/backend/app/projects/project_crud.py @@ -689,10 +689,6 @@ def remove_z_dimension(coord): } ] else: - # Delete the created Project - db.delete(db_project) - db.commit() - # Raise an exception raise HTTPException( status_code=400, detail=f"Invalid GeoJSON type: {boundary['type']}" @@ -705,7 +701,7 @@ def remove_z_dimension(coord): if feature["geometry"]["type"] == "MultiPolygon": multi_polygons.append(Polygon(feature["geometry"]["coordinates"][0][0])) - """Update the boundary polyon on the database.""" + """Update the boundary polygon on the database.""" if multi_polygons: outline = multi_polygons[0] for geom in multi_polygons[1:]: