We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba4c54f + fe96029 commit 80a2aceCopy full SHA for 80a2ace
src/integrations/iron_handlers.rs
@@ -189,10 +189,7 @@ impl Handler for GraphiQLHandler {
189
'Accept': 'application/json',
190
'Content-Type': 'application/json',
191
},
192
- body: JSON.stringify({
193
- query: params.query,
194
- variables: JSON.parse(params.variables || '{}')
195
- }),
+ body: JSON.stringify(params)
196
}).then(function (response) {
197
return response.text();
198
}).then(function (body) {
0 commit comments