Skip to content

Commit fa0c125

Browse files
Update stac_pydantic/api/search.py
Co-authored-by: Pete Gadomski <[email protected]>
1 parent ab78cdc commit fa0c125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: stac_pydantic/api/search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def validate_bbox(v: Optional[BBox]) -> Optional[BBox]:
5454
raise ValueError("Bounding box must be within (-180, -90, 180, 90)")
5555

5656
if ymax < ymin:
57-
raise ValueError("Maximum longitude must be greater than minimum longitude")
57+
raise ValueError("Maximum latitude must be greater than minimum latitude")
5858

5959
return v
6060

0 commit comments

Comments
 (0)