Comparing version 0.0.14 to 0.0.15
@@ -32,4 +32,4 @@ // custom middleware invoked by doAPI (not express middleware) | ||
var callArgs = _.assign(_.cloneDeep(config.apiDefaults), args); | ||
callArgs.paramMethod = (callArgs.verb === 'get') ? 'query' : 'send'; | ||
callArgs.paramMethod = (callArgs.verb !== 'get' && callArgs.bodyType === 'json') ? 'send' : 'query'; | ||
config.apiCallBefore(callArgs, req, res); | ||
@@ -36,0 +36,0 @@ |
{ | ||
"name": "yukon", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Self-discovering component-based API-driven framework based on express", | ||
"main": "index.js", | ||
"main": "yukon.js", | ||
"scripts": { | ||
@@ -25,3 +25,3 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"lodash": "^2.4.1", | ||
"nodulejs": "^1.1.11", | ||
"nodulejs": "^1.1.12", | ||
"superagent": "^0.21.0" | ||
@@ -31,3 +31,5 @@ }, | ||
"body-parser": "^1.10.1", | ||
"expect": "^1.3.0", | ||
"express": "^4.10.6", | ||
"glob": "^4.3.2", | ||
"jade": "^1.8.2", | ||
@@ -34,0 +36,0 @@ "mocha": "^2.1.0", |
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
24019
248
7
Updatednodulejs@^1.1.12