Skip to content

Commit

Permalink
Fixes error in body stringification
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciocavina committed Jan 10, 2019
1 parent d68e0b0 commit 6c615f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/swsProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ swsProcessor.prototype.collectRequestResponseData = function (res) {
}

if (req.hasOwnProperty("body")) {
rrr.http.request.body = {};
rrr.http.request.body = Object.assign({}, req.body);
swsUtil.swsStringRecursive(rrr.http.request.body, req.body);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swagger-stats",
"version": "0.95.6",
"version": "0.95.7",
"description": "API Telemetry and APM. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices, based on express routes and Swagger (Open API) specification",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 6c615f4

Please sign in to comment.