Skip to content

Commit 0f081c9

Browse files
authored
Merge pull request #6 from itaditya/patch-1
named export instead of default export
2 parents 87fc44a + 032b784 commit 0f081c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ $ npm install @probot/serverless-lambda
88
```
99

1010
```javascript
11-
# handler.js
12-
const serverless = require('@probot/serverless-lambda')
11+
// handler.js
12+
const { serverless } = require('@probot/serverless-lambda')
1313
const appFn = require('./')
1414
module.exports.probot = serverless(appFn)
1515
```

0 commit comments

Comments
 (0)