diff --git a/src/backend/app/projects/project_crud.py b/src/backend/app/projects/project_crud.py index 973f0aa5a0..9329a8d488 100644 --- a/src/backend/app/projects/project_crud.py +++ b/src/backend/app/projects/project_crud.py @@ -617,7 +617,7 @@ async def get_data_extract_url( } } - if geom_type := aoi.get("type") == "FeatureCollection": + if (geom_type := aoi.get("type")) == "FeatureCollection": # Convert each feature into a Shapely geometry geometries = [ shape(feature.get("geometry")) for feature in aoi.get("features", [])