enable hydrator

This commit is contained in:
Karol Wypchlo 2021-02-09 12:39:00 +01:00
parent 4b94151fac
commit 1a4e3dd50f
1 changed files with 1 additions and 1 deletions

View File

@ -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"] } });
};