Skip to content

Commit db92423

Browse files
committed
get_search fix
1 parent 5c439b5 commit db92423

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

stac_fastapi/core/stac_fastapi/core/core.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,7 @@ async def item_collection(
318318
if maybe_count is not None:
319319
context_obj["matched"] = maybe_count
320320

321-
links = []
322-
if next_token:
323-
links = await PagingLinks(request=request, next=next_token).get_links()
321+
links = await PagingLinks(request=request, next=next_token).get_links()
324322

325323
return ItemCollection(
326324
type="FeatureCollection",

0 commit comments

Comments
 (0)