Comparing version 0.0.96 to 0.0.97
{ | ||
"name":"jest", | ||
"description":"JavaScriptational State Transfer. JS restful API layer with Mongoose based resources. Inspired by python Tastypie", | ||
"version":"0.0.96", | ||
"version":"0.0.97", | ||
"author":"Ishai Jaffe <ishai@empeeric.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -157,11 +157,3 @@ var _ = require('underscore'), | ||
// save objects | ||
self.create_obj(req, fields, function (err, object) { | ||
if (err) callback(err); | ||
else { | ||
// save to cache (no need to wait for response) | ||
self.cache.set(self.build_cache_key(object.id), object, function () { | ||
}); | ||
callback(null, object); | ||
} | ||
}); | ||
self.create_obj(req, fields, callback); | ||
} | ||
@@ -168,0 +160,0 @@ } |
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
4453544
35081