Skip to content

Commit 4970e8c

Browse files
committed
Make non-FHIR compliant
1 parent 8cb9a61 commit 4970e8c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/api/searchCpmProduct/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from api_utils.api_step_chain import execute_step_chain_fhir as execute_step_chain
1+
from api_utils.api_step_chain import execute_step_chain
22
from event.aws.client import dynamodb_client
33
from event.environment import BaseEnvironment
44
from event.logging.logger import setup_logger

src/api/searchCpmProduct/src/v1/steps.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from http import HTTPStatus
12
from typing import List
23

34
from aws_lambda_powertools.utilities.data_classes import APIGatewayProxyEvent
@@ -28,7 +29,7 @@ def query_products(data, cache) -> List[CpmProduct]:
2829
results = cpm_product_repo.query_products_by_product_team(
2930
product_team_id=product_team_id
3031
)
31-
return [result.state() for result in results]
32+
return HTTPStatus.OK, [result.state() for result in results]
3233

3334

3435
steps = [

0 commit comments

Comments
 (0)