c2-mongoose 2.1.72 → 2.1.73
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.
package/dist/flow/SearchFlow.js
CHANGED
|
@@ -112,7 +112,7 @@ var SearchFlow = /** @class */ (function () {
|
|
|
112
112
|
var projection = {};
|
|
113
113
|
for (var _i = 0, _a = this.select; _i < _a.length; _i++) {
|
|
114
114
|
var field = _a[_i];
|
|
115
|
-
if (field.indexOf(".")) {
|
|
115
|
+
if (!field.indexOf(".")) {
|
|
116
116
|
projection[field] = 1;
|
|
117
117
|
}
|
|
118
118
|
}
|
package/package.json
CHANGED