diff --git a/src/backend/app/projects/project_crud.py b/src/backend/app/projects/project_crud.py index 693eadea73..07f4d2f155 100644 --- a/src/backend/app/projects/project_crud.py +++ b/src/backend/app/projects/project_crud.py @@ -402,7 +402,10 @@ def update_multi_polygon_project_boundary( return False # Update the boundary polyon on the database. - polygons = boundary["features"] + if boundary["type"]=="Feature": + polygons = [boundary] + else: + polygons = boundary["features"] log.debug(f"Processing {len(polygons)} task geometries") for polygon in polygons: # If the polygon is a MultiPolygon, convert it to a Polygon