Comparing version 2.3.0 to 2.3.1
@@ -326,3 +326,3 @@ var q = require('q'); | ||
.then(function (result) { | ||
if (result.matchCount === 0) { | ||
if (result.matchedCount === 0) { | ||
throw errors.Conflict({ message: 'Document update conflict' }); | ||
@@ -329,0 +329,0 @@ } |
{ | ||
"name": "cosa", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Cosa Models for MongoDB", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
86284