Updated to new dependencies (#95)

This commit is contained in:
David
2022-02-24 21:33:17 +01:00
committed by GitHub
parent 5856776785
commit 16ab855ccc
5 changed files with 2638 additions and 3517 deletions

View File

@@ -114,9 +114,9 @@ const handler: NextApiHandler = async (req, res) => {
origin: "*"
});
return req.method !== "OPTIONS"
? apolloHandler(req, res)
: res.end();
if (req.method !== "OPTIONS")
return apolloHandler(req, res);
res.end();
};
export default handler;