Skip to content

Commit bf6d985

Browse files
fix: convert intersects geometry string to dictionary in request body (#390)
Co-authored-by: Pete Gadomski <[email protected]>
1 parent 4baa534 commit bf6d985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stac_api_validator/validations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2855,7 +2855,7 @@ def validate_item_search_intersects(
28552855
search_url,
28562856
errors,
28572857
Context.ITEM_SEARCH,
2858-
body={"collections": [collection], "intersects": geometry},
2858+
body={"collections": [collection], "intersects": json.loads(geometry)},
28592859
r_session=r_session,
28602860
)
28612861
if not item_collection or not item_collection.get("features"):

0 commit comments

Comments
 (0)