backend-plus 2.0.0-beta.4 → 2.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/backend-plus.js
CHANGED
|
@@ -1377,6 +1377,7 @@ AppBackend.prototype.addProcedureServices = function addProcedureServices(forUnl
|
|
|
1377
1377
|
var params={};
|
|
1378
1378
|
procedureDef.parameters.forEach(function(paramDef){
|
|
1379
1379
|
var undecodedValue = req[source][paramDef.name];
|
|
1380
|
+
undecodedValue = paramDef.encoding == 'plain' || undecodedValue === undefined ? undecodedValue : undecodedValue + '';
|
|
1380
1381
|
var value = undecodedValue===undefined?undecodedValue:myOwn.encoders[paramDef.encoding].parse(undecodedValue);
|
|
1381
1382
|
if(undecodedValue===undefined){
|
|
1382
1383
|
if(paramDef.defaultSpecial === 'currentYear'){
|
package/package.json
CHANGED