From 1a4e3dd50fc07794745646d77f3da95e405b16ae Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 9 Feb 2021 12:39:00 +0100 Subject: [PATCH] enable hydrator --- packages/dashboard/src/pages/api/hydrator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dashboard/src/pages/api/hydrator.js b/packages/dashboard/src/pages/api/hydrator.js index 305b7233..a2065237 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.status(200).json({ name: "John Doe" }); + res.status(200).json({ name: "John Doe", extra: { foo: "bar" }, header: { foo: ["bar1", "bar2"] } }); };