Skip to content

Commit 3591f28

Browse files
committed
Update cast.js
1 parent 0dbf92d commit 3591f28

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/cast.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ module.exports = function cast(schema, obj, options, context) {
7171
const discrim = getSchemaDiscriminatorByValue(context.schema, val[k][schema.options.discriminatorKey]);
7272
val[k] = cast(discrim ? discrim : schema, val[k], options, context)
7373

74-
// val[k] = cast(schema, val[k], options, context);
7574
}
7675
} else if (path === '$where') {
7776
type = typeof val;

0 commit comments

Comments
 (0)