Comparing version 0.0.10 to 0.0.11
@@ -31,7 +31,9 @@ var fs = require('fs'); | ||
if (callArgs.host) callArgs.path = callArgs.host + callArgs.path; | ||
callArgs.path = apiServer + callArgs.path; // we don't want the apiServer in timer results | ||
// MAGIC ALERT: if path ends with '/', assume it gets an id from the express request :id matcher | ||
callArgs.path = callArgs.path.match(/\/$/) ? callArgs.path + req.params.id : callArgs.path; | ||
console.log(callArgs); | ||
config.beforeApiCall(callArgs, req, res); | ||
@@ -38,0 +40,0 @@ |
{ | ||
"name": "yukon", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Self-discovering component-based API-driven framework based on express", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"lodash": "^2.4.1", | ||
"nodulejs": "^1.1.6", | ||
"nodulejs": "^1.1.9", | ||
"superagent": "^0.21.0" | ||
@@ -28,0 +28,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
34982
19
506
Updatednodulejs@^1.1.9