Skip to content

Commit 77dfa21

Browse files
committed
remove request token
1 parent 7963b8c commit 77dfa21

File tree

1 file changed

+3
-3
lines changed
  • stac_fastapi/core/stac_fastapi/core

1 file changed

+3
-3
lines changed

stac_fastapi/core/stac_fastapi/core/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,14 @@ async def get_search(
395395
HTTPException: If any error occurs while searching the catalog.
396396
"""
397397
limit = int(request.query_params.get("limit", os.getenv("STAC_ITEM_LIMIT", 10)))
398-
# Support pagination when called from item_collection by reading token from the query string
399-
token_val = token or request.query_params.get("token")
398+
# # Support pagination when called from item_collection by reading token from the query string
399+
# token_val = token or request.query_params.get("token")
400400
base_args = {
401401
"collections": collections,
402402
"ids": ids,
403403
"bbox": bbox,
404404
"limit": limit,
405-
"token": token_val,
405+
"token": token,
406406
"query": orjson.loads(query) if query else query,
407407
"q": q,
408408
}

0 commit comments

Comments
 (0)