Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrrt committed Dec 19, 2023
1 parent e8b127c commit 0ab496b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/core/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]*?)}/;
Expand Down Expand Up @@ -157,6 +155,4 @@ const fetchGraphQLEndpoint = async (
const getAuthorizationFromContext = (ctx) => {
const authorization = ctx?.request?.headers?.get("authorization");
return authorization;
};

// export { schema };
};

0 comments on commit 0ab496b

Please sign in to comment.