diff --git a/packages/dashboard/src/pages/api/hydrator.js b/packages/dashboard/src/pages/api/hydrator.js index c7e52858..bf637874 100644 --- a/packages/dashboard/src/pages/api/hydrator.js +++ b/packages/dashboard/src/pages/api/hydrator.js @@ -3,5 +3,5 @@ export default (req, res) => { console.log("body", req.body); console.log("cookies", req.cookies); - res.json(req.body); + res.json({ header: req.body ? req.body.header : {}, extra: { foo: "bar" } }); };