Skip to content

Commit

Permalink
fix(graphqli): pass along credentials in fetcher (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbushak authored and benjie committed Apr 12, 2017
1 parent 998ba25 commit bf10085
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/postgraphql/graphiql/src/components/PostGraphiQL.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class PostGraphiQL extends React.Component {
}, jwtToken ? {
'Authorization': `Bearer ${jwtToken}`,
} : {}),
credentials: 'same-origin',
body: JSON.stringify(graphQLParams),
})

Expand Down

0 comments on commit bf10085

Please sign in to comment.