Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #25 from cgarvis/patch-1
Browse files Browse the repository at this point in the history
Set `credentials` to `include` in graphQLFetcher
  • Loading branch information
leebyron committed Oct 28, 2015
2 parents ee2def0 + f6b7b58 commit 3df8a01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderGraphiQL.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ add "&raw" to the end of the URL within a browser.
method: 'post',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(graphQLParams),
credentials: 'include',
}).then(function (response) {
return response.json()
});
Expand Down

0 comments on commit 3df8a01

Please sign in to comment.