bkper-js 1.35.5 → 1.35.6

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.
@@ -291,7 +291,7 @@ export class Account {
291
291
  }
292
292
  if (groupObject) {
293
293
  for (let i = 0; i < this.payload.groups.length; i++) {
294
- const groupId = this.payload.groups[i];
294
+ const groupId = this.payload.groups[i].id;
295
295
  if (groupId == groupObject.getId()) {
296
296
  this.payload.groups.splice(i, 1);
297
297
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "1.35.5",
3
+ "version": "1.35.6",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",