Skip to content

Commit

Permalink
feat: Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabidick22 committed Oct 14, 2020
1 parent 899697f commit 97eafc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/handlers/get-data/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 97eafc4

Please sign in to comment.