@lark-apaas/nestjs-logger 0.1.0-alpha.7 → 0.1.0-alpha.9

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.
package/dist/index.js CHANGED
@@ -14828,15 +14828,15 @@ var LoggingInterceptor = class {
14828
14828
  const req = httpContext.getRequest();
14829
14829
  const res = httpContext.getResponse();
14830
14830
  const method = req.method;
14831
- const url = req.originalUrl ?? req.url;
14831
+ const path = req.path;
14832
14832
  this.requestContext.setContext({
14833
14833
  method,
14834
- path: url
14834
+ path
14835
14835
  });
14836
14836
  const startedAt = Date.now();
14837
14837
  const baseMeta = {
14838
14838
  method,
14839
- path: url,
14839
+ path,
14840
14840
  trace_id: req.requestId ?? req.id,
14841
14841
  user_id: req.userContext?.userId ?? null,
14842
14842
  tenant_id: req.userContext?.tenantId ?? null,