Skip to content

Commit ba7efaf

Browse files
committed
remove date fix hack
1 parent bd71de5 commit ba7efaf

File tree

1 file changed

+0
-6
lines changed
  • stac_fastapi/core/stac_fastapi/core

1 file changed

+0
-6
lines changed

stac_fastapi/core/stac_fastapi/core/core.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,6 @@ async def item_collection(
270270
Exception: If any error occurs while reading the items from the database.
271271
"""
272272
request: Request = kwargs["request"]
273-
query_params = dict(request.query_params) # Convert MultiDict to dict
274-
275-
# I am not sure why I have to do this .... as of stac-fastapi 2.5.2
276-
if "datetime" in query_params:
277-
datetime = query_params["datetime"]
278-
279273
base_url = str(request.base_url)
280274

281275
collection = await self.get_collection(

0 commit comments

Comments
 (0)