c2-mongoose 2.1.34 → 2.1.36

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.
@@ -220,7 +220,7 @@ var SearchFlow = /** @class */ (function () {
220
220
  sort = this.buildOrdenation();
221
221
  return [4 /*yield*/, model.aggregate([
222
222
  {
223
- '$match': this.filters
223
+ $match: this.filters
224
224
  },
225
225
  {
226
226
  $group: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-mongoose",
3
- "version": "2.1.34",
3
+ "version": "2.1.36",
4
4
  "description": "Lib to make any search in database mongoose and use as basic crud",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -139,7 +139,7 @@ abstract class SearchFlow {
139
139
  const ret = await model.aggregate(
140
140
  [
141
141
  {
142
- '$match': this.filters
142
+ $match: this.filters
143
143
  },
144
144
  {
145
145
  $group: {