bruce-models 0.2.2 → 0.2.4

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.
@@ -4848,7 +4848,7 @@
4848
4848
  if (cacheData) {
4849
4849
  return [2 /*return*/, cacheData];
4850
4850
  }
4851
- return [4 /*yield*/, api.GET("user/" + id)];
4851
+ return [4 /*yield*/, api.GET("user/" + id + (accountId ? "?clientAccountID=" + accountId : ""))];
4852
4852
  case 1:
4853
4853
  req = _a.sent();
4854
4854
  api.Cache.Set(GetCacheKey(id, accountId), req, exports.Api.DEFAULT_CACHE_DURATION);
@@ -4891,7 +4891,7 @@
4891
4891
  throw ("Username is required.");
4892
4892
  }
4893
4893
  req = api.GET("user/loginavailable/" + username);
4894
- prom = new Promise(function (rej, res) { return __awaiter(_this, void 0, void 0, function () {
4894
+ prom = new Promise(function (res, rej) { return __awaiter(_this, void 0, void 0, function () {
4895
4895
  var data, e_1;
4896
4896
  return __generator(this, function (_a) {
4897
4897
  switch (_a.label) {