zet-lib 1.2.17 → 1.2.18

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.
Files changed (2) hide show
  1. package/lib/zRoute.js +1 -1
  2. package/package.json +1 -1
package/lib/zRoute.js CHANGED
@@ -1687,7 +1687,7 @@ zRoute.listDataTable = async (req, res, objData = {}) => {
1687
1687
  }
1688
1688
  let whereArray = []
1689
1689
  if (objData.hasOwnProperty('whereArray')) {
1690
- whereArray.push(objData['whereArray'])
1690
+ whereArray = objData['whereArray']
1691
1691
  }
1692
1692
  whereArray.push({
1693
1693
  field: 'company_id',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"