Skip to content

Commit 97eafc4

Browse files
committed
feat: Add logs
1 parent 899697f commit 97eafc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/handlers/get-data/app.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
let response;
33

44
exports.lambdaHandler = async (event, context) => {
5+
const body = JSON.parse(event.body)
6+
console.info(JSON.parse(context))
57
try {
68
response = {
79
'statusCode': 200,
810
'body': JSON.stringify({
911
message: 'get data',
10-
// location: ret.data.trim()
1112
})
1213
}
1314
} catch (err) {

0 commit comments

Comments
 (0)