From f4a8d9033a7d096c815311a6682607223e3e344c Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 9 Feb 2021 11:52:05 +0100 Subject: [PATCH] enable hydrator --- packages/dashboard/src/pages/api/hydrator.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/dashboard/src/pages/api/hydrator.js b/packages/dashboard/src/pages/api/hydrator.js index 4a7b8b99..4aac55bf 100644 --- a/packages/dashboard/src/pages/api/hydrator.js +++ b/packages/dashboard/src/pages/api/hydrator.js @@ -1,6 +1,7 @@ export default (req, res) => { - console.log(Object.keys(req)); - console.log(JSON.stringify(req)); + console.log("method", req.method); + console.log("body", req.body); + console.log("cookies", req.cookies); res.json({ name: "John Doe" }); };