Skip to content

Commit

Permalink
fix(gatsby-source-graphql): incorrect capitalization of Bearer (#16468)
Browse files Browse the repository at this point in the history
  • Loading branch information
valin4tor authored and sidharthachatterjee committed Aug 8, 2019
1 parent fdd9963 commit 37c7389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby-source-graphql/README.md
Expand Up @@ -40,7 +40,7 @@ module.exports = {
// HTTP headers
headers: {
// Learn about environment variables: https://gatsby.dev/env-vars
Authorization: `bearer ${process.env.GITHUB_TOKEN}`,
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
},
// Additional options to pass to node-fetch
fetchOptions: {},
Expand All @@ -57,7 +57,7 @@ module.exports = {
return createHttpLink({
uri: 'https://api.github.com/graphql',
headers: {
'Authorization': `bearer ${process.env.GITHUB_TOKEN}`,
'Authorization': `Bearer ${process.env.GITHUB_TOKEN}`,
},
fetch,
})
Expand Down

0 comments on commit 37c7389

Please sign in to comment.