nanographql
nanographql copied to clipboard
variables must be a object
now it is a string which cant be analyze.
this happens when you don't set:
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
in fetch.
otherwise, it's all zen.
I'm actually running into this too... I have those headers set and variables
is still coming through as a string.