adminforth 1.3.2 → 1.3.3
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/dataConnectors/mongo.ts
CHANGED
|
@@ -113,7 +113,7 @@ class MongoConnector extends AdminForthBaseConnector implements IAdminForthDataS
|
|
|
113
113
|
for (const filter of filters) {
|
|
114
114
|
query[filter.field] = this.OperatorsMap[filter.operator](filter.value);
|
|
115
115
|
}
|
|
116
|
-
return
|
|
116
|
+
return query;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
async getDataWithOriginalTypes({ resource, limit, offset, sort, filters }:
|
|
@@ -115,7 +115,7 @@ class MongoConnector extends AdminForthBaseConnector {
|
|
|
115
115
|
for (const filter of filters) {
|
|
116
116
|
query[filter.field] = this.OperatorsMap[filter.operator](filter.value);
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return query;
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
getDataWithOriginalTypes(_a) {
|