diff --git a/src/backend/app/projects/project_crud.py b/src/backend/app/projects/project_crud.py index c33864dd15..680ecd9bd6 100644 --- a/src/backend/app/projects/project_crud.py +++ b/src/backend/app/projects/project_crud.py @@ -700,7 +700,7 @@ async def split_multi_geom_into_tasks(): log.debug("Project boundary GeoJSON = Feature") boundary_geoms = project_geojson["geometry"] geom = await split_polygon_into_tasks( - db, project_id, boundary_data, no_of_buildings, has_data_extracts + db, project_id, boundary_geoms, no_of_buildings, has_data_extracts ) split_geom_geojson.extend(geom) @@ -708,7 +708,7 @@ async def split_multi_geom_into_tasks(): log.debug("Project boundary GeoJSON = Polygon") boundary_geoms = project_geojson geom = await split_polygon_into_tasks( - db, project_id, boundary_data, no_of_buildings, has_data_extracts + db, project_id, boundary_geoms, no_of_buildings, has_data_extracts ) split_geom_geojson.extend(geom)