@open-rlb/ng-app 3.1.19 → 3.1.21

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,12 +1635,12 @@ 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;
1639
- const map = Object.keys(mapping).forEach((key) => {
1638
+ let params = req.params;
1639
+ Object.keys(mapping).forEach((key) => {
1640
1640
  const storeKey = mapping[key];
1641
1641
  const value = data?.[storeKey];
1642
1642
  if (!!value) {
1643
- params.set(key, value);
1643
+ params = params.set(key, value);
1644
1644
  }
1645
1645
  });
1646
1646
  const clonedReq = req.clone({ params });