bruce-models 1.5.8 → 1.5.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.
@@ -700,6 +700,7 @@
700
700
  let EAppId;
701
701
  (function (EAppId) {
702
702
  EAppId["BruceApi"] = "BruceAPI";
703
+ EAppId["Navigator"] = "Navigator";
703
704
  })(EAppId = Account.EAppId || (Account.EAppId = {}));
704
705
  let EStarterContent;
705
706
  (function (EStarterContent) {
@@ -1112,11 +1113,11 @@
1112
1113
  // Attempt to load an account specific base url.
1113
1114
  // This could be one with a region specific endpoint.
1114
1115
  try {
1115
- const { settings } = yield exports.Account.GetAppSettings({
1116
+ const settings = (yield exports.Account.GetAppSettings({
1116
1117
  api: cam,
1117
1118
  accountId: this.accountId,
1118
1119
  appId: exports.Account.EAppId.BruceApi
1119
- });
1120
+ })).settings;
1120
1121
  if (this.loadCancelled) {
1121
1122
  console.warn("BruceApi: Loading was cancelled due to SetBaseUrl being called, not setting regional base url.");
1122
1123
  return;