Skip to content

Commit

Permalink
Updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ilievskizoran committed Sep 12, 2019
1 parent 7ac2911 commit 51e3ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch-resources-for-products.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default function fetchResourcesForProducts(productOrProduct, client) {

return Promise.all(products.reduce((promiseAcc, product) => {

// If the graphql query doesn't find a match, returns null.
// If the graphql query doesn't find a match, skip fetching variants and images.
if (product === null) {
return promiseAcc;
}
Expand Down

0 comments on commit 51e3ad3

Please sign in to comment.