xpress-mongo
Advanced tools
Comparing version 0.7.0 to 0.7.1
{ | ||
"name": "xpress-mongo", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Light Weight ODM for mongoDb", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -174,3 +174,3 @@ "use strict"; | ||
typeNames.push(type.schema.name); | ||
if (type.schema.required) | ||
if (type.schema.required === true) | ||
isRequired = true; | ||
@@ -177,0 +177,0 @@ } |
@@ -315,3 +315,3 @@ "use strict"; | ||
if (value === undefined) { | ||
if (schemaVal.schema.required) { | ||
if (schemaVal.schema.required === true) { | ||
newData[key] = value; | ||
@@ -318,0 +318,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80320