enable hydrator

This commit is contained in:
Karol Wypchlo 2021-02-09 12:19:02 +01:00
parent fbe82e672b
commit 68215b7d98
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@ export default (req, res) => {
console.log("body", req.body); console.log("body", req.body);
console.log("cookies", req.cookies); console.log("cookies", req.cookies);
res.json({ ...data, cookies: { ...data.cookies, foo: "bar" } }); res.json({ ...data, header: { ...data.header, foo: "bar" }, extra: { wtf: "bbq" } });
}; };