@sdflc/backend-helpers 1.0.76 → 1.0.77

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.
@@ -130,7 +130,8 @@ class BaseGateway {
130
130
  let filtersAppliedQty = 1;
131
131
  if (arr.length > 0) {
132
132
  filtersAppliedQty++;
133
- query = query.whereIn(this.getIdFieldUpdateRemove(), arr.map((item) => item[this.getIdField()]));
133
+ const idName = this.getIdFieldUpdateRemove();
134
+ query = query.whereIn(idName, arr.map((item) => item[idName]));
134
135
  }
135
136
  if (hasStatus === true) {
136
137
  filtersAppliedQty++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdflc/backend-helpers",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
4
4
  "description": "Set of helper functions and classes to simplify building backend apps within @sdflc ecosystem",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",