Skip to content

Commit

Permalink
Fix/contentful add header (#29028)
Browse files Browse the repository at this point in the history
* contentful: enrich API requests with integration name and version

* build: upgrade to latest Contentful SDK
  • Loading branch information
axe312ger committed Jan 14, 2021
1 parent a3ad6d7 commit 168ff60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-contentful/package.json
Expand Up @@ -15,7 +15,7 @@
"base64-img": "^1.0.4",
"bluebird": "^3.7.2",
"chalk": "^4.1.0",
"contentful": "^7.14.12",
"contentful": "^8.1.7",
"fs-extra": "^9.0.1",
"gatsby-core-utils": "^1.9.0-next.0",
"gatsby-plugin-utils": "^0.8.0-next.1",
Expand Down
1 change: 1 addition & 0 deletions packages/gatsby-source-contentful/src/fetch.js
Expand Up @@ -19,6 +19,7 @@ module.exports = async function contentfulFetch({
host: pluginConfig.get(`host`),
environment: pluginConfig.get(`environment`),
proxy: pluginConfig.get(`proxy`),
integration: `gatsby-source-contentful`,
responseLogger: response => {
function createMetadataLog(response) {
if (process.env.gatsby_log_level === `verbose`) {
Expand Down

0 comments on commit 168ff60

Please sign in to comment.