Skip to content

Commit

Permalink
hotfix: geom type not populated with feature type
Browse files Browse the repository at this point in the history
  • Loading branch information
sujanadh committed Jan 23, 2024
1 parent 15345c5 commit aa2680d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/projects/project_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", [])
Expand Down

0 comments on commit aa2680d

Please sign in to comment.