Skip to content

Commit

Permalink
documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydaly committed Aug 15, 2018
1 parent abc03b6 commit 7988df7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Lambda API is a lightweight web framework for use with AWS API Gateway and AWS L
const api = require('lambda-api')()

// Define a route
api.get('/status', (req,res) => {
res.json({ status: 'ok' })
api.get('/status', async (req,res) => {
return { status: 'ok' }
})

// Declare your Lambda handler
Expand Down

0 comments on commit 7988df7

Please sign in to comment.