@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.cjs CHANGED
@@ -14839,15 +14839,15 @@ var LoggingInterceptor = class {
14839
14839
  const req = httpContext.getRequest();
14840
14840
  const res = httpContext.getResponse();
14841
14841
  const method = req.method;
14842
- const url = req.originalUrl ?? req.url;
14842
+ const path = req.path;
14843
14843
  this.requestContext.setContext({
14844
14844
  method,
14845
- path: url
14845
+ path
14846
14846
  });
14847
14847
  const startedAt = Date.now();
14848
14848
  const baseMeta = {
14849
14849
  method,
14850
- path: url,
14850
+ path,
14851
14851
  trace_id: req.requestId ?? req.id,
14852
14852
  user_id: req.userContext?.userId ?? null,
14853
14853
  tenant_id: req.userContext?.tenantId ?? null,