fix: yoga import bug

This commit is contained in:
NunoSempere 2022-11-09 21:37:32 +00:00
parent 31bfb357b3
commit 8ccb88558f

View File

@ -1,7 +1,7 @@
import { NextApiRequest, NextApiResponse } from "next";
// apollo-server-micro is problematic since v3, see https://github.com/apollographql/apollo-server/issues/5547, so we use graphql-yoga instead
import { createYoga } from "@graphql-yoga";
import { createYoga } from "graphql-yoga";
import { schema } from "../../graphql/schema";