@yolo-croket-dev/core 1.5.3 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -79,6 +79,7 @@ let LoggingServiceInterceptor = class LoggingServiceInterceptor {
79
79
  const originalMessage = rmqContext.getMessage();
80
80
  const ctx = context.switchToHttp();
81
81
  const request = ctx.getRequest();
82
+ const pastParam = JSON.parse(JSON.stringify(request.param));
82
83
  const originalcontent = originalMessage.content;
83
84
  const content = JSON.parse(originalcontent.toString());
84
85
  const traceId = content.data.param ? content.data.param.traceId : '-';
@@ -94,7 +95,7 @@ let LoggingServiceInterceptor = class LoggingServiceInterceptor {
94
95
  messagePatten: content.pattern,
95
96
  payload: JSON.stringify(this.keyCutter(JSON.stringify(request.payload))),
96
97
  },
97
- paramInfo: request.param,
98
+ paramInfo: pastParam,
98
99
  traceInfo: {
99
100
  from: pastFrom,
100
101
  froms: pastFroms,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/core",
3
- "version": "1.5.3",
3
+ "version": "1.7.0",
4
4
  "author": "Yolo Co., Ltd.",
5
5
  "description": "Yolo commonization module",
6
6
  "main": "index.js",