Skip to content

Commit

Permalink
fix: revert update for gatsby v3
Browse files Browse the repository at this point in the history
  • Loading branch information
christianzoppi committed Mar 11, 2021
1 parent e43cfb3 commit 3260567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const Sync = require('./src/sync')
const getStoryParams = require('./src/getStoryParams')
const stringify = require('json-stringify-safe')

exports.sourceNodes = async function({ actions }, options) {
const { createNode, setPluginStatus } = actions;
exports.sourceNodes = async function({ boundActionCreators }, options) {
const { createNode, setPluginStatus } = boundActionCreators;
const client = new StoryblokClient(options, 'https://api.storyblok.com/v1');

Sync.init({
Expand Down

0 comments on commit 3260567

Please sign in to comment.