Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Fix the way we execute queries
Browse files Browse the repository at this point in the history
  • Loading branch information
pbazydlo committed Oct 5, 2017
1 parent 6839693 commit ea8a88f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/cli.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
const graphQlClient = require('../graphqlClient');
const graphQlClient = require('../graphqlClient').default;
const chalk = require('chalk');
const retry = require('./retryHelper').retry;
const QueryGenerator = require('../queryGenerator');
Expand Down
2 changes: 1 addition & 1 deletion src/graphqlClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as fetch from 'node-fetch';
function createQuery(query) {
var body = {
"query": query,
"variables": "{}",
"variables": {},
"operationName": null
};

Expand Down

0 comments on commit ea8a88f

Please sign in to comment.