Skip to content

Commit 82864cb

Browse files
authored
fix(gatsby-source-graphql): Use default export from node-fetch (#33977)
1 parent 734ff16 commit 82864cb

File tree

1 file changed

+1
-1
lines changed
  • packages/gatsby-source-graphql/src

1 file changed

+1
-1
lines changed

packages/gatsby-source-graphql/src/fetch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const nodeFetch = require(`node-fetch`)
1+
const nodeFetch = require(`node-fetch`).default
22

33
// this is passed to the Apollo Link
44
// https://www.apollographql.com/docs/link/links/http/#fetch-polyfill

0 commit comments

Comments
 (0)