Skip to content

Commit

Permalink
chore: linting and styling
Browse files Browse the repository at this point in the history
  • Loading branch information
vicary committed Nov 11, 2022
1 parent 61279fe commit f2276a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/graphql-yoga/routes/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ import { fromManifest } from "$fresh_graphql/schema.ts";
import { createServer } from "@graphql-yoga/common";
import manifest from "../fresh_graphql.gen.ts";

const schema = fromManifest(manifest);

const yoga = createServer<HandlerContext>({
logging: true,
maskedErrors: false,
schema,
schema: fromManifest(manifest),
});

export const handler = async (req: Request, ctx: HandlerContext) => {
Expand Down

0 comments on commit f2276a9

Please sign in to comment.