File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class GitHubConnector {
50
50
uri : url ,
51
51
...options ,
52
52
} ) . then ( ( response ) => {
53
- const body = { response } ;
53
+ const { body } = response ;
54
54
eTagCache [ url ] = {
55
55
result : body ,
56
56
eTag : response . headers . etag ,
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export function run({
198
198
if ( ! config . persistedQueries ) {
199
199
// Get the query, the same way express-graphql does it
200
200
// https://github.com/graphql/express-graphql/blob/3fa6e68582d6d933d37fa9e841da5d2aa39261cd/src/index.js#L257
201
- const query = { params } ;
201
+ const { query } = params ;
202
202
if ( query && query . length > 2000 ) {
203
203
// None of our app's queries are this long
204
204
// Probably indicates someone trying to send an overly expensive query
You can’t perform that action at this time.
0 commit comments