From 0ab496b45f1ee2e81007f7b1b37d57226444ff14 Mon Sep 17 00:00:00 2001 From: David Barrat Date: Tue, 19 Dec 2023 03:41:19 +0100 Subject: [PATCH] cleanup --- packages/core/src/schema.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/core/src/schema.ts b/packages/core/src/schema.ts index da2097a..017b712 100644 --- a/packages/core/src/schema.ts +++ b/packages/core/src/schema.ts @@ -6,8 +6,6 @@ import { unifyGraphQLSchemasObjects, } from "./schemaUtils"; -let schemas = []; - // extract everything between type Query {} const queryRegex = /type Query {([\s\S]*?)}/; const mutationRegex = /type Mutation {([\s\S]*?)}/; @@ -157,6 +155,4 @@ const fetchGraphQLEndpoint = async ( const getAuthorizationFromContext = (ctx) => { const authorization = ctx?.request?.headers?.get("authorization"); return authorization; -}; - -// export { schema }; +}; \ No newline at end of file