diff --git a/src/handlers/get-data/app.js b/src/handlers/get-data/app.js index e25a74d..9e276b8 100644 --- a/src/handlers/get-data/app.js +++ b/src/handlers/get-data/app.js @@ -2,12 +2,13 @@ let response; exports.lambdaHandler = async (event, context) => { + const body = JSON.parse(event.body) + console.info(JSON.parse(context)) try { response = { 'statusCode': 200, 'body': JSON.stringify({ message: 'get data', - // location: ret.data.trim() }) } } catch (err) {