diff --git a/packages/dashboard/src/pages/api/hydrator.js b/packages/dashboard/src/pages/api/hydrator.js index 30b15018..c7e52858 100644 --- a/packages/dashboard/src/pages/api/hydrator.js +++ b/packages/dashboard/src/pages/api/hydrator.js @@ -1,9 +1,7 @@ export default (req, res) => { - const data = req.body; - console.log("method", req.method); console.log("body", req.body); console.log("cookies", req.cookies); - res.json({ ...data, header: { ...data.header, foo: "bar" }, extra: { wtf: "bbq" } }); + res.json(req.body); };