tnx-shared 5.0.62 → 5.0.63

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.
@@ -9539,7 +9539,7 @@
9539
9539
  var PermissionService = /** @class */ (function (_super) {
9540
9540
  __extends(PermissionService, _super);
9541
9541
  function PermissionService(http, injector, _moduleConfigService, _userService, _oauthService, _appContext) {
9542
- var _this = _super.call(this, http, injector, (_moduleConfigService.getConfig().environment.authenticationSettings.coreVersion == 'v4' ? _moduleConfigService.getConfig().environment.apiDomain.authorizationEndpoint : _moduleConfigService.getConfig().environment.apiDomain.authorizationEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion) + "/permission") || this;
9542
+ var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.authorizationEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/permission") || this;
9543
9543
  _this._moduleConfigService = _moduleConfigService;
9544
9544
  _this._userService = _userService;
9545
9545
  _this._oauthService = _oauthService;
@@ -9548,9 +9548,12 @@
9548
9548
  _this.delayCheckPermissions = [];
9549
9549
  _this.ignoreAdmin = false;
9550
9550
  _this.appCode = null;
9551
+ if (_moduleConfigService.getConfig().environment.authenticationSettings.coreVersion == 'v4') {
9552
+ _this.serviceUri = _moduleConfigService.getConfig().environment.apiDomain.authorizationEndpoint + "/permission";
9553
+ }
9551
9554
  _this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.authorizationEndpoint;
9552
- _this.ignoreAdmin = _this._moduleConfigService.getConfig().environment.isIgnoreAdmin;
9553
9555
  _this.appCode = _this._moduleConfigService.getConfig().appCode;
9556
+ _this.ignoreAdmin = _this._moduleConfigService.getConfig().environment.isIgnoreAdmin;
9554
9557
  return _this;
9555
9558
  }
9556
9559
  /**