Merge pull request 'feat: add console.log' (!1340) from post_add_consoleLog into test
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1340
Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
Joan Sanchez 2023-02-21 13:58:10 +00:00
commit 0997f8cd27
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ module.exports = Self => {
}); });
Self.post = async ctx => { Self.post = async ctx => {
console.log(ctx.req.body);
return ctx.req.body; return ctx.req.body;
}; };
}; };