phpclassic/php-shopify

GraphQL Requests without variables failing with 400 bad status

Closed this issue · 1 comments

When we call the graphql api, its failing when there is no variable passed even if they are not needs to be passed.

$client->GraphQL->post($graphQL);

I have also opened a pull request here : #343

you can merge it or provide your own fix for this issue :-)

It's already merged and new release published. Thanks @svishalgarg