bruce-models 1.3.4 → 1.3.5

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.
@@ -5492,12 +5492,12 @@
5492
5492
  });
5493
5493
  }
5494
5494
  User.UpdateSettings = UpdateSettings;
5495
- function GetUsernameAvailable(api, username, reqParams) {
5495
+ function GetUsernameAvailable(api, username, excludeUserId, reqParams) {
5496
5496
  return __awaiter(this, void 0, void 0, function* () {
5497
5497
  if (!username) {
5498
5498
  throw ("Username is required.");
5499
5499
  }
5500
- const req = api.GET(`user/loginavailable/${username}`, reqParams);
5500
+ const req = api.GET(`user/loginavailable/${username}${excludeUserId ? "?excludeUserId=" + excludeUserId : ""}`, reqParams);
5501
5501
  const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
5502
5502
  try {
5503
5503
  const data = yield req;