@open-rlb/ng-app 3.1.18 → 3.1.19

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.
@@ -1635,14 +1635,15 @@ class CompanyInterceptor {
1635
1635
  const currentApp = this.store.selectSignal(state => state[appContextFeatureKey].currentApp)();
1636
1636
  const data = currentApp?.data;
1637
1637
  const mapping = this.config.acl?.interceptorMapping || {};
1638
+ const params = req.params;
1638
1639
  const map = Object.keys(mapping).forEach((key) => {
1639
1640
  const storeKey = mapping[key];
1640
1641
  const value = data?.[storeKey];
1641
1642
  if (!!value) {
1642
- req.params.set(key, value);
1643
+ params.set(key, value);
1643
1644
  }
1644
1645
  });
1645
- const clonedReq = req.clone({ params: req.params });
1646
+ const clonedReq = req.clone({ params });
1646
1647
  return next.handle(clonedReq);
1647
1648
  }
1648
1649
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: CompanyInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }