Skip to content

Commit 85282f0

Browse files
authored
docs(readme): fix the import
1 parent b8aed33 commit 85282f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ To use the query complexity analysis validation rule with express-graphql, use s
117117
following:
118118

119119
```javascript
120-
import queryComplexity from 'graphql-query-complexity';
120+
import queryComplexity, { simpleEstimator } from 'graphql-query-complexity';
121121
import express from 'express';
122122
import graphqlHTTP from 'express-graphql';
123123
import schema from './schema';

0 commit comments

Comments
 (0)