Skip to content

Commit

Permalink
Merge pull request #33 from storyblok/hotfix/get-all-tags
Browse files Browse the repository at this point in the history
Fix get all tags
  • Loading branch information
onefriendaday authored Jul 31, 2020
2 parents 9810117 + 06baa7f commit 9061ece
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 9061ece

Please sign in to comment.