exodus-framework 2.0.749 → 2.0.750

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.
@@ -93,7 +93,7 @@ function processDateCondition(key, cond) {
93
93
  }
94
94
  if (cond.between !== undefined) {
95
95
  simpleWhere[1] = {
96
- [_sequelize.Op.between]: cond.notBetween.map(d => new Date(d))
96
+ [_sequelize.Op.between]: cond.between.map(d => new Date(d))
97
97
  };
98
98
  }
99
99
  if (cond.notBetween !== undefined) {
@@ -103,12 +103,12 @@ function processDateCondition(key, cond) {
103
103
  }
104
104
  if (cond.in !== undefined) {
105
105
  simpleWhere[1] = {
106
- [_sequelize.Op.in]: cond.notBetween.map(d => new Date(d))
106
+ [_sequelize.Op.in]: cond.in.map(d => new Date(d))
107
107
  };
108
108
  }
109
109
  if (cond.notIn !== undefined) {
110
110
  simpleWhere[1] = {
111
- [_sequelize.Op.notIn]: cond.notBetween.map(d => new Date(d))
111
+ [_sequelize.Op.notIn]: cond.notIn.map(d => new Date(d))
112
112
  };
113
113
  }
114
114
  return simpleWhere;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodus-framework",
3
- "version": "2.0.749",
3
+ "version": "2.0.750",
4
4
  "description": "Exodus Framework",
5
5
  "author": "jhownpaixao",
6
6
  "license": "ISC",