Skip to content

Commit f2276a9

Browse files
committed
chore: linting and styling
1 parent 61279fe commit f2276a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/graphql-yoga/routes/graphql.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ import { fromManifest } from "$fresh_graphql/schema.ts";
33
import { createServer } from "@graphql-yoga/common";
44
import manifest from "../fresh_graphql.gen.ts";
55

6-
const schema = fromManifest(manifest);
7-
86
const yoga = createServer<HandlerContext>({
97
logging: true,
108
maskedErrors: false,
11-
schema,
9+
schema: fromManifest(manifest),
1210
});
1311

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

0 commit comments

Comments
 (0)