From a5a0545eb812df8cfc25601c13c54eb12dda6ca7 Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Tue, 15 Aug 2023 15:35:20 -0700 Subject: [PATCH] test endpoints with lambda function --- hydrocronapi/controllers/timeseries.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hydrocronapi/controllers/timeseries.py b/hydrocronapi/controllers/timeseries.py index d586dee..8fa89ad 100644 --- a/hydrocronapi/controllers/timeseries.py +++ b/hydrocronapi/controllers/timeseries.py @@ -173,10 +173,10 @@ def lambda_handler(event, context): This function queries the database for relevant results """ print("test timeseries 1") - print("params") - print(event['params']) print("body") - print(event.body) + print(event['body']) + print("feature") + print(event['body']['feature']) data = {}