cmbf-hapi-restmodel
Advanced tools
Comparing version 0.6.14 to 0.6.15
@@ -175,3 +175,3 @@ var Joi = require('joi'), | ||
var fieldsToUpdate = _.omitBy(data, function (val, key) { | ||
return key === _this.constructor.idField || _.isNull(val); | ||
return key === _this.constructor.idField || _.isNull(val) || key === '_id'; | ||
}); | ||
@@ -178,0 +178,0 @@ |
{ | ||
"name": "cmbf-hapi-restmodel", | ||
"version": "0.6.14", | ||
"version": "0.6.15", | ||
"author": "Joel Grenon <joelgrenon@covistra.com>", | ||
@@ -5,0 +5,0 @@ "description": "Hapi plugin building a REST Api from Joi schema, backed by covistra-mongo plugin", |
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
42191