Merge pull request #629 from AndrewBastin/fix/gql-variable-empty
Ignore empty GQL Variable Strings
This commit is contained in:
@@ -503,7 +503,7 @@ export default {
|
|||||||
headers[header.key] = header.value
|
headers[header.key] = header.value
|
||||||
})
|
})
|
||||||
|
|
||||||
let variables = JSON.parse(this.variableString)
|
let variables = JSON.parse(this.variableString || "{}")
|
||||||
|
|
||||||
const gqlQueryString = this.gqlQueryString
|
const gqlQueryString = this.gqlQueryString
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user