Skip to content

Commit

Permalink
remove query check as to fix graphiql integration
Browse files Browse the repository at this point in the history
  • Loading branch information
nnance committed Jun 30, 2016
1 parent 00c2626 commit e32b202
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/integrations/expressApollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ export function graphqlHTTP(options: ExpressApolloOptions | ExpressApolloOptions
params = optionsObject.formatParams(params);
}

if (!params.query) {
throw new Error('Must provide query string.');
}

responses.push(await runQuery(params));
} catch (e) {
responses.push({ errors: [formatErrorFn(e)] });
Expand Down

0 comments on commit e32b202

Please sign in to comment.