resource-schema
Advanced tools
Comparing version 0.17.3 to 0.18.0
@@ -98,3 +98,2 @@ // Generated by CoffeeScript 1.9.2 | ||
} | ||
model = model.toObject(); | ||
return _this._sendResource(model, requestContext); | ||
@@ -130,3 +129,2 @@ }).then(null, function(err) { | ||
return function(models) { | ||
models = _(models).invoke('toObject'); | ||
return _this._sendResources(models, requestContext); | ||
@@ -133,0 +131,0 @@ }; |
{ | ||
"name": "resource-schema", | ||
"version": "0.17.3", | ||
"version": "0.18.0", | ||
"description": "Define schemas for RESTful resources from mongoose models, and generate middleware to GET, POST, PUT, and DELETE to those resources.", | ||
@@ -5,0 +5,0 @@ "author": "Good Eggs <open-source@goodeggs.com>", |
Sorry, the diff of this file is not supported yet
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
101917
1185