Package cleanup.

This commit is contained in:
Patrick Fic
2021-01-06 11:05:55 -08:00
parent af8ccfaff5
commit 1c967ece2e
5 changed files with 883 additions and 986 deletions

View File

@@ -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: {