We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3afac41 commit c28bce7Copy full SHA for c28bce7
1 file changed
app/components/App.js
@@ -164,7 +164,7 @@ export default class App extends React.Component {
164
165
url += url.indexOf('?') == -1 ? "?" : "&";
166
167
- return fetch(url + "query=" + encodeURIComponent(graphQLParams['query']) + "&variables=" + encodeURIComponent(graphQLParams['variables']), {
+ return fetch(url + "query=" + encodeURIComponent(graphQLParams['query']) + "&variables=" + encodeURIComponent(JSON.stringify(graphQLParams['variables'])), {
168
method: method,
169
credentials: 'include',
170
headers: Object.assign({}, defaultHeaders, headers),
0 commit comments