nanographql icon indicating copy to clipboard operation
nanographql copied to clipboard

variables must be a object

Open yuu2lee4 opened this issue 6 years ago • 3 comments

now it is a string which cant be analyze.

yuu2lee4 avatar May 03 '18 03:05 yuu2lee4

this happens when you don't set:

    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    },

in fetch.

cdaringe avatar May 27 '18 06:05 cdaringe

otherwise, it's all zen.

cdaringe avatar May 27 '18 06:05 cdaringe

I'm actually running into this too... I have those headers set and variables is still coming through as a string.

wilbooorn avatar Jan 05 '21 19:01 wilbooorn