Package cleanup.
This commit is contained in:
@@ -8,9 +8,8 @@ require("dotenv").config({
|
||||
});
|
||||
//New bug introduced with Graphql Request.
|
||||
// https://github.com/prisma-labs/graphql-request/issues/206
|
||||
const { Headers } = require("cross-fetch");
|
||||
|
||||
global.Headers = global.Headers || Headers;
|
||||
// const { Headers } = require("cross-fetch");
|
||||
// global.Headers = global.Headers || Headers;
|
||||
|
||||
exports.client = new GraphQLClient(process.env.GRAPHQL_ENDPOINT, {
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user