diff --git a/pages/api/hello.js b/pages/api/hello.js index b7c0cd3..06c71f4 100644 --- a/pages/api/hello.js +++ b/pages/api/hello.js @@ -1,6 +1,6 @@ // Next.js API route support: https://nextjs.org/docs/api-routes/introduction export default (req, res) => { - res.statusCode = 200 - res.json({ name: "John Doe" }) -} + res.statusCode = 200; + res.json({ name: "John Doe" }); +};