enable hydrator

This commit is contained in:
Karol Wypchlo 2021-02-09 11:52:05 +01:00
parent 389a47d58c
commit f4a8d9033a
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
export default (req, res) => { export default (req, res) => {
console.log(Object.keys(req)); console.log("method", req.method);
console.log(JSON.stringify(req)); console.log("body", req.body);
console.log("cookies", req.cookies);
res.json({ name: "John Doe" }); res.json({ name: "John Doe" });
}; };