Comparing version 2.0.1 to 2.0.2
@@ -60,2 +60,3 @@ 'use strict' | ||
this.Document = ConnectedDocument | ||
this.Model = ConnectedDocument | ||
@@ -62,0 +63,0 @@ if (uri) { |
@@ -146,3 +146,3 @@ 'use strict' | ||
var doc = this | ||
return get(this) | ||
return get(this.constructor) | ||
.then(function (c) { | ||
@@ -149,0 +149,0 @@ return c.save(doc) |
{ | ||
"name": "mong", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Lightweight models for mongodb objects", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
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
15290
402