We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0282cf6 commit 3445982Copy full SHA for 3445982
src/Adapters/Storage/Mongo/MongoTransform.js
@@ -188,7 +188,7 @@ const transformInteriorValue = restValue => {
188
// Handle atomic values
189
var value = transformInteriorAtom(restValue);
190
if (value !== CannotTransform) {
191
- if (typeof value === 'object') {
+ if (value && typeof value === 'object') {
192
if (value instanceof Date) {
193
return value;
194
}
0 commit comments