File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
stac_fastapi/core/stac_fastapi/core/extensions Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ def build_get_collections_search_doc(original_endpoint):
2828 """Return a documented GET endpoint wrapper for /collections-search."""
2929
3030 async def documented_endpoint (
31+ request : Request ,
3132 q : Optional [str ] = Query (
3233 None ,
3334 description = "Free text search query" ,
@@ -76,16 +77,8 @@ async def documented_endpoint(
7677 alias = "fields[]" ,
7778 ),
7879 ):
79- return await original_endpoint (
80- q = q ,
81- query = query ,
82- limit = limit ,
83- token = token ,
84- bbox = bbox ,
85- datetime = datetime ,
86- sortby = sortby ,
87- fields = fields ,
88- )
80+ # Delegate to original endpoint which reads from request.query_params
81+ return await original_endpoint (request )
8982
9083 documented_endpoint .__name__ = original_endpoint .__name__
9184 return documented_endpoint
You can’t perform that action at this time.
0 commit comments