diff --git a/packages/dashboard/pages/api/hello.js b/packages/dashboard/pages/api/hello.js index d47dc5dd..2693b28f 100644 --- a/packages/dashboard/pages/api/hello.js +++ b/packages/dashboard/pages/api/hello.js @@ -35,7 +35,7 @@ export default async (req, res) => { await runMiddleware(req, res, middleware); console.log(Object.keys(req)); - console.log(user); + console.log(req.user); res.statusCode = 200; res.json({ name: "John Doe" }); };