Skip to content
Snippets Groups Projects
Commit d6ca595c authored by Dan Peterson's avatar Dan Peterson
Browse files

Merge branch 'var-definition-hotfix' into 'master'

add form var definition back

See merge request !1
parents 06070ab0 64d33192
No related branches found
Tags 2.0.7
1 merge request!1add form var definition back
......@@ -79,6 +79,8 @@ export class GraphQLClient {
// ensure the browser does teh detection of the form data body to set the header correctly
delete headers!['content-type']
const form = new FormData();
// operations - original graphql request with the files removed
form.append('operations', JSON.stringify({ query, variables: clone }))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment