@dnax/core 0.31.0 → 0.32.0
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/driver/mongo/rest.ts +1 -1
- package/driver/mongo/utils.ts +3 -6
- package/package.json +1 -1
package/driver/mongo/rest.ts
CHANGED
package/driver/mongo/utils.ts
CHANGED
|
@@ -148,14 +148,11 @@ function transformAllDate(data: object) {
|
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
|
-
|
|
152
151
|
//console.log(data);
|
|
153
152
|
return data;
|
|
154
|
-
} catch (error) {
|
|
155
|
-
console.log(error);
|
|
153
|
+
} catch (error) {}
|
|
156
154
|
|
|
157
|
-
|
|
158
|
-
}
|
|
155
|
+
return data;
|
|
159
156
|
}
|
|
160
157
|
|
|
161
158
|
function toBson<T>(
|
|
@@ -376,7 +373,7 @@ function formatData(
|
|
|
376
373
|
action: options?.action,
|
|
377
374
|
});
|
|
378
375
|
|
|
379
|
-
return data;
|
|
376
|
+
return transformAllDate(data);
|
|
380
377
|
}
|
|
381
378
|
|
|
382
379
|
function removeKeysAtFirstLevel(data: any, keysToRemove: string[]) {
|