Skip to content

Commit

Permalink
fix: get all tags
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelgsouza committed Jul 31, 2020
1 parent 9810117 commit 06baa7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ exports.sourceNodes = async function({ boundActionCreators }, options) {
}

await Sync.getAll('tags', {
node: 'StoryblokTag'
node: 'StoryblokTag',
params: getStoryParams('', options),
process: (item) => {
item.id = item.name
}
})

if (options.includeLinks === true) {
Expand Down

0 comments on commit 06baa7f

Please sign in to comment.