Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Commit

Permalink
Fix allCategories with fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier committed Nov 16, 2019
1 parent d078d9c commit d7115c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatsby/gatsby-node.js
Expand Up @@ -20,7 +20,7 @@ const getAllProductsData = async () => {

const getAllCategoryData = async () => {
if (!SYLIUS_URL) {
return require("./__fixtures__/category.json")
return require("./__fixtures__/category.json").self
}

return got(`${SYLIUS_URL}/shop-api/taxons/category`, {
Expand Down

0 comments on commit d7115c2

Please sign in to comment.