Skip to content

Commit

Permalink
fix: Typo in the AWS handler code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasdao committed Jan 21, 2018
1 parent ec336b8 commit 12eb792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const app = {
const { req, res } = ${input.appName}.createAWSRequestResponse(event)
${input.appName}.handleEvent()(req, res)
.then(() => {
const awsRes = ${input.appName}.createAWSResponse(event)
const awsRes = ${input.appName}.createAWSResponse(res)
next(null, awsRes)
})
.catch(err => {
Expand Down

0 comments on commit 12eb792

Please sign in to comment.