Skip to content

Commit ed27c96

Browse files
committed
Fix demo
1 parent cdd5c9d commit ed27c96

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/cadip/rs_server_cadip/api/cadip_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

services/common/rs_server_common/stac_api_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
798798
def get_cadip_queryables() -> dict:
799799
"""Function used to read and interpret from cadip_queryables.yaml"""

0 commit comments

Comments
 (0)