Comparing version 0.0.82 to 0.0.83
@@ -25,3 +25,4 @@ var _ = require('underscore'), | ||
get_object:function (req, id, callback) { | ||
var query = this.model.findById(id); | ||
var query = this.default_query(this.model.find(this.default_filters)); | ||
query = query.where('_id',id); | ||
this.authorization.limit_object(req, query, function (err, query) { | ||
@@ -28,0 +29,0 @@ if (err) callback(err); |
{ | ||
"name":"jest", | ||
"description":"JavaScriptational State Transfer. JS restful API layer with Mongoose based resources. Inspired by python Tastypie", | ||
"version":"0.0.82", | ||
"version":"0.0.83", | ||
"author":"Ishai Jaffe <ishai@empeeric.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4445564
34874
26