Skip to content

Commit

Permalink
fix(contentful): asset download retry (#33024)
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger authored Sep 2, 2021
1 parent 530ca0d commit a77695e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gatsby-source-contentful/src/extend-node-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ exports.extendNodeType = ({ type, store, reporter }) => {
})
}

const getDominantColor = async ({ image, options }) => {
const getDominantColor = async ({ image, options, reporter }) => {
let pluginSharp

try {
Expand Down Expand Up @@ -798,6 +798,7 @@ exports.extendNodeType = ({ type, store, reporter }) => {
imageProps.backgroundColor = await getDominantColor({
image,
options,
reporter,
})
}

Expand Down

0 comments on commit a77695e

Please sign in to comment.