Skip to content

Commit

Permalink
Response is a promise #330
Browse files Browse the repository at this point in the history
  • Loading branch information
electerious committed May 15, 2022
1 parent 2ff43e8 commit b73b015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serverless.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ exports.handler = (event, context) => {
})

const response = handler(event, context)
console.log(response)
response.then(console.log)
return response
}

0 comments on commit b73b015

Please sign in to comment.