We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 734ff16 commit 82864cbCopy full SHA for 82864cb
packages/gatsby-source-graphql/src/fetch.js
@@ -1,4 +1,4 @@
1
-const nodeFetch = require(`node-fetch`)
+const nodeFetch = require(`node-fetch`).default
2
3
// this is passed to the Apollo Link
4
// https://www.apollographql.com/docs/link/links/http/#fetch-polyfill
0 commit comments