@shieldiot/ngx-pulseiot-lib 2.21.1443 → 2.21.1447

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.
@@ -6517,22 +6517,22 @@ class SysMembersService {
6517
6517
  find(accountId, userId, role, sort, page, size) {
6518
6518
  const params = [];
6519
6519
  if (accountId != null) {
6520
- params.push(`accountId=${accountId}`);
6520
+ params.push(`accountId=${encodeURIComponent(String(accountId))}`);
6521
6521
  }
6522
6522
  if (userId != null) {
6523
- params.push(`userId=${userId}`);
6523
+ params.push(`userId=${encodeURIComponent(String(userId))}`);
6524
6524
  }
6525
6525
  if (role != null) {
6526
- params.push(`role=${role}`);
6526
+ params.push(`role=${encodeURIComponent(String(role))}`);
6527
6527
  }
6528
6528
  if (sort != null) {
6529
- params.push(`sort=${sort}`);
6529
+ params.push(`sort=${encodeURIComponent(String(sort))}`);
6530
6530
  }
6531
6531
  if (page != null) {
6532
- params.push(`page=${page}`);
6532
+ params.push(`page=${encodeURIComponent(String(page))}`);
6533
6533
  }
6534
6534
  if (size != null) {
6535
- params.push(`size=${size}`);
6535
+ params.push(`size=${encodeURIComponent(String(size))}`);
6536
6536
  }
6537
6537
  return this.rest.get(`${this.baseUrl}`, ...params);
6538
6538
  }