We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70d2904 commit ceae491Copy full SHA for ceae491
stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py
@@ -275,9 +275,7 @@ async def get_all_collections(
275
# Ensure we have a valid sort value for next_token
276
next_token_values = hits[-1].get("sort")
277
if next_token_values:
278
- next_token = urlsafe_b64encode(
279
- json.dumps(next_token_values).encode()
280
- ).decode()
+ next_token = next_token_values[0]
281
282
return collections, next_token
283
0 commit comments