enable hydrator

This commit is contained in:
Karol Wypchlo 2021-02-09 12:27:53 +01:00
parent 962fc2e5ca
commit c59e7bf53d
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.json(req.body);
res.json({ header: req.body ? req.body.header : {}, extra: { foo: "bar" } });
};