File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cadip/rs_server_cadip/api Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -550,9 +550,9 @@ def process_files_search( # pylint: disable=too-many-locals
550550 HTTPException (fastapi.exceptions): If there is a connection error to the station.
551551 HTTPException (fastapi.exceptions): If there is a general failure during the process.
552552 """
553- query_datetime = queryables .get ("datetime" )
554- session_id = queryables .get ("SessionId" )
553+ query_datetime = queryables .get ("PublicationDate" )
555554
555+ session_id = queryables .get ("SessionId" )
556556 if not query_datetime and not session_id :
557557 raise HTTPException (status_code = status .HTTP_400_BAD_REQUEST , detail = "Missing search parameters" )
558558
Original file line number Diff line number Diff line change @@ -793,7 +793,7 @@ def map_stac_platform() -> dict:
793793 return yaml .safe_load (cf )
794794
795795
796- ## todo, Transofrm to single func
796+ # todo, Transofrm to single func
797797@lru_cache
798798def get_cadip_queryables () -> dict :
799799 """Function used to read and interpret from cadip_queryables.yaml"""
You can’t perform that action at this time.
0 commit comments