Skip to content

Commit cbd9a42

Browse files
authored
Update README.md
1 parent d56d7fc commit cbd9a42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ yarn add graphql-playground-middleware-lambda
116116
`handler.js`
117117

118118
```js
119+
import lambdaPlayground from 'graphql-playground-middleware-lambda'
120+
// or using require()
121+
// const lambdaPlayground = require('graphql-playground-middleware-lambda').default
122+
119123
exports.graphqlHandler = function graphqlHandler(event, context, callback) {
120124
function callbackFilter(error, output) {
121125
// eslint-disable-next-line no-param-reassign

0 commit comments

Comments
 (0)