Skip to content

Commit

Permalink
Merge pull request #60 from ignaciocavina/master
Browse files Browse the repository at this point in the history
Fixes error in body stringification
  • Loading branch information
sv2 committed Jan 12, 2019
2 parents d68e0b0 + 6c615f4 commit 00d37ad
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
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
@@ -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 00d37ad

Please sign in to comment.