mongoose-schema-extend
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -61,3 +61,3 @@ var mongoose = require('mongoose'), | ||
var type = doc[key]; | ||
var model = this.db.models[type]; | ||
var model = this.db.model(type); | ||
if(model) { | ||
@@ -64,0 +64,0 @@ var newFn = function() { |
{ | ||
"name": "mongoose-schema-extend", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "mongoose schema inheritance and discriminator key extension", | ||
@@ -5,0 +5,0 @@ "main": "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
9528